QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#260784 | #7755. Game on a Forest | smartyi# | WA | 0ms | 3528kb | C++20 | 411b | 2023-11-22 15:15:58 | 2023-11-22 15:15:58 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define Joyfine ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define int long long
int _=1;
int n, m;
int a[1111],b[1111];
void solve(int ce){
cin >> n >> m ;
for(int i = 1, u, v; i <= m; i++){
cin >> u >> v;
}
cout << (n + m)/ 2;
}
signed main(void)
{
Joyfine;
cin>>_;
for(int i=1;i<=_;i++) solve(i);
}
详细
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3528kb
input:
3 1 1 2
output:
111
result:
wrong answer 1st numbers differ - expected: '2', found: '111'