QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#172201#7178. Bishopsucup-team1293#WA 1ms11924kbC++141.6kb2023-09-09 18:14:522023-09-09 18:14:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 5

output:

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

result:

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

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 9876kb

input:

5 5

output:

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

result:

wrong answer Dif diagonals are not distinct