QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#623560 | #7779. Swiss Stage | MEshooter# | WA | 0ms | 3704kb | C++20 | 398b | 2024-10-09 13:06:51 | 2024-10-09 13:06:51 |
Judging History
answer
#include<iostream>
using namespace std;
int main(){
ios :: sync_with_stdio(false);
int x, y, ans;
cin >> x >> y;
int a[3][3];
a[0][0] = 8;
a[1][0] = a[0][1] = a[1][1] = 4;
a[2][0] = a[0][2] = 2;
a[1][2] = a[2][1] = a[2][2] = 3;
while(x < 3) {
ans += (a[x][y] % 2 == 1 ? 2 : 1);
x++;
}
cout << ans << "\n";
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3704kb
input:
0 1
output:
-1468931388
result:
wrong answer 1st numbers differ - expected: '4', found: '-1468931388'