QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#579168#7226. The Impressive PathUrdTL 1ms3664kbC++17991b2024-09-21 10:03:302024-09-21 10:03:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

8 8 16

output:

2 3
3 1
1 2
2 4
3 2
1 3
2 1
3 3
4 1
2 2
1 4
2 6
3 4
4 6
6 7
8 8

result:

ok correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

8 8 32

output:

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

result:

ok correct

Test #3:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

8 8 48

output:

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

result:

ok correct

Test #4:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

9 8 17

output:

2 3
3 1
1 2
2 4
3 2
1 3
2 1
3 3
4 1
2 2
1 4
2 6
3 4
5 3
6 5
7 7
9 8

result:

ok correct

Test #5:

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

input:

9 8 35

output:

2 3
3 1
1 2
2 4
3 2
1 3
2 1
3 3
4 1
2 2
1 4
2 6
3 4
4 2
6 1
5 3
4 5
3 7
2 5
1 7
3 6
1 5
2 7
3 5
4 3
5 1
6 3
7 1
5 2
4 4
5 6
6 4
8 5
7 7
9 8

result:

ok correct

Test #6:

score: -100
Time Limit Exceeded

input:

9 8 53

output:


result: