QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#171596#7178. Bishopsucup-team140#WA 1ms3648kbC++141015b2023-09-09 17:17:022023-09-09 17:17:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 3624kb

input:

5 5

output:

9
1 5
2 5
3 5
4 5
5 5
2 0
2 1
4 0
4 1

result:

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