QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#485973#7178. BishopsZhaoZiLongWA 0ms3608kbC++171.4kb2024-07-21 13:59:222024-07-21 13:59:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3608kb

input:

2 5

output:

15
1 1
2 1
3 1
4 1
5 1
2 5
3 5
4 5
1 3
2 3
3 3
2 5
1 5
2 5
2 5

result:

wrong answer Integer parameter [name=q] equals to 15, violates the range [0, 7]