QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#174163#7178. Bishopsucup-team356#WA 2ms3564kbC++201.4kb2023-09-10 04:54:182023-09-10 04:54:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3508kb

input:

2 5

output:

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

result:

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

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3564kb

input:

5 5

output:

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

result:

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