QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#419524#7178. Bishopsucup-team2150#WA 0ms3612kbC++17991b2024-05-24 01:17:572024-05-24 01:17:58

詳細信息

Test #1:

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

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: 0ms
memory: 3540kb

input:

5 5

output:

8
1 1
1 2
1 3
1 4
1 5
n 2
n 3
n 4

result:

wrong output format Expected integer, but "n" found