QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#411877 | #4389. Copy | mobbb# | WA | 10ms | 3636kb | C++20 | 642b | 2024-05-15 21:02:35 | 2024-05-15 21:02:35 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve(){
int n,q;
cin >> n >> q;
vector<int> a(n + 1);
for (int i = 1;i <= n;i++){
cin >> a[i];
}
for(int i = 1, op, x , y; i <= q; i ++ ) {
cin >> op;
if(op == 1){
cin >> x >> y;
assert(x <= n and y <= n);
}else {
cin >> x;
assert(x <= n);
}
}
return ;
}
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int t;
cin >> t;
while (t--){
solve();
}
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 10ms
memory: 3636kb
input:
2 5 10 14138491 23289232 33892225 43531245 54436322 1 1 4 2 2 2 3 2 4 2 5 1 2 4 2 2 2 3 2 4 2 5 99990 99990 493133979 94198606 751145654 147404311 601524088 744747426 561746143 212260573 241231749 810352224 81276441 382492450 18779020 317505899 880615584 654793240 417574821 822313301 140569958 69317...
output:
result:
wrong answer 1st lines differ - expected: '28631531', found: ''