QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#400415#7178. Bishopsucup-team1455WA 0ms3648kbC++201.6kb2024-04-27 11:11:142024-04-27 11:11:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

5 5

output:

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

result:

wrong answer Integer parameter [name=y] equals to 6, violates the range [1, 5]