QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#171521#7178. Bishopsucup-team1470#WA 1ms3500kbC++201.1kb2023-09-09 17:08:152023-09-09 17:08:15

詳細信息

Test #1:

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

input:

2 5

output:

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

result:

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

Test #2:

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

input:

5 5

output:

9
-1 3
0 3
1 3
2 3
3 3
4 3
5 3
6 3
7 3

result:

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