QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#172634#7178. Bishopsucup-team1537#WA 1ms3628kbC++201.5kb2023-09-09 20:03:292023-09-09 20:03:29

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3628kb

input:

2 5

output:

6
1 1
1 3
1 5
2 1
2 3
2 5

result:

ok n: 2, m: 5, bishops: 6

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3568kb

input:

5 5

output:

8
1 1
1 3
1 5
6 2
1 2
1 4
5 2
5 4

result:

wrong answer Integer parameter [name=x] equals to 6, violates the range [1, 5]