QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#623560#7779. Swiss StageMEshooter#WA 0ms3704kbC++20398b2024-10-09 13:06:512024-10-09 13:06:51

Judging History

你现在查看的是最新测评结果

  • [2024-10-09 13:06:51]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3704kb
  • [2024-10-09 13:06:51]
  • 提交

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'