QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#172666#7178. Bishopsucup-team1363#WA 2ms3600kbC++204.7kb2023-09-09 20:09:192023-09-09 20:09:19

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3600kb

input:

2 5

output:

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

result:

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

Test #2:

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

input:

5 5

output:

5
1 1
2 1
3 1
4 1
5 1

result:

wrong answer Participant's answer is not optimal (5 < 8)