QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#231825#7178. Bishopsucup-team1140#WA 0ms3408kbC++17963b2023-10-29 16:54:342023-10-29 16:54:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

5 5

output:

10
1 1
2 1
3 1
4 1
5 1
3 5
2 5
4 5
1 5
5 5

result:

wrong answer Sum diagonals are not distinct