QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#485926#7178. BishopsZhaoZiLongWA 0ms3704kbC++171.4kb2024-07-21 12:42:452024-07-21 12:42:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

5 5

output:

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

result:

wrong answer Dif diagonals are not distinct