QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#172066#7178. Bishopsucup-team1258#WA 1ms3656kbC++202.4kb2023-09-09 17:59:572023-09-09 18:00:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

5 5

output:

5
1 1
1 2
1 3
1 4
1 5

result:

wrong answer Participant's answer is not optimal (5 < 8)