QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#579160#7226. The Impressive PathUrdTL 25ms3820kbC++17965b2024-09-21 10:00:212024-09-21 10:00:21

详细

Test #1:

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

input:

8 8 16

output:

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

result:

ok correct

Test #2:

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

input:

8 8 32

output:

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

result:

ok correct

Test #3:

score: 0
Accepted
time: 5ms
memory: 3496kb

input:

8 8 48

output:

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

result:

ok correct

Test #4:

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

input:

9 8 17

output:

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

result:

ok correct

Test #5:

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

input:

9 8 35

output:

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

result:

ok correct

Test #6:

score: 0
Accepted
time: 25ms
memory: 3700kb

input:

9 8 53

output:

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

result:

ok correct

Test #7:

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

input:

10 8 18

output:

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

result:

ok correct

Test #8:

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

input:

10 8 38

output:

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

result:

ok correct

Test #9:

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

input:

8 10 58

output:

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

result:

ok correct

Test #10:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

8 10 60

output:

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

result:

ok correct

Test #11:

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

input:

11 8 19

output:

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

result:

ok correct

Test #12:

score: -100
Time Limit Exceeded

input:

8 11 41

output:


result: