QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#301846#7779. Swiss Stagezzuqy#WA 0ms3684kbC++14179b2024-01-10 13:16:142024-01-10 13:16:15

Judging History

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

  • [2024-01-10 13:16:15]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3684kb
  • [2024-01-10 13:16:14]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

int ans[3][3] = {{3, 4, 5}, {2, 3, 4}, {1, 2, 3}};
int main() {
	int x, y;
	cin >> x >> y;
	cout << ans[x][y];
	return 0;
}

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3496kb

input:

0 1

output:

4

result:

ok 1 number(s): "4"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

1 2

output:

4

result:

ok 1 number(s): "4"

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3684kb

input:

0 0

output:

3

result:

wrong answer 1st numbers differ - expected: '4', found: '3'