QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#173039#7178. Bishopsucup-team025#WA 1ms3504kbC++2014.7kb2023-09-09 21:42:572023-09-09 21:42:57

詳細信息

Test #1:

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

input:

2 5

output:

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

result:

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

Test #2:

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

input:

5 5

output:

9
1 1
5 1
1 3
5 3
5 5
1 2
4 1
2 5
5 4

result:

wrong answer Dif diagonals are not distinct