QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#171227#7178. Bishopsucup-team367#WA 1ms3952kbC++141.0kb2023-09-09 16:38:572023-09-09 16:38:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3776kb

input:

5 5

output:

8
2 1
4 1
2 2
4 2
2 3
4 3
2 4
4 4

result:

wrong answer Sum diagonals are not distinct