QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#865405#7737. Extending DistancespecialuserWA 1ms41068kbC++144.1kb2025-01-21 17:58:502025-01-21 17:58:51

详细

Test #1:

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

input:

2
3 4 6
2 1 15
7 1 9
13 3 2
3 6 1 2
5 2 15 3
3 3 3
1 1
2 2
3 3
1 1 1
2 2 2

output:

9
7 1 15
10 1 9
13 3 3
3 6 1 2
5 2 15 3
4
4 1
3 2
3 3
1 1 1
2 2 2

result:

ok Correct. (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 40708kb

input:

125
4 4 48
33 9 39
38 74 3
18 44 9
20 91 19
76 95 17 16
61 88 50 49
68 18 33 84
4 4 14
54 69 42
47 90 28
2 73 59
1 20 90
43 22 74 19
27 67 46 43
42 21 78 80
4 4 93
12 67 38
13 85 39
74 68 77
71 80 64
92 97 53 46
66 6 30 20
66 70 71 24
4 4 34
43 86 55
49 34 73
78 77 90
99 49 5
55 4 63 47
80 24 15 3
8...

output:

87
77 9 39
38 74 3
18 44 9
20 130 23
76 95 17 16
61 88 50 49
68 18 33 84
14
54 69 42
47 90 28
2 73 59
1 20 104
43 22 74 19
27 67 46 43
42 21 78 80
166
105 67 38
80 85 39
74 74 77
71 80 64
92 97 53 46
66 6 30 20
66 70 71 24
34
45 86 55
49 34 73
78 99 90
99 49 15
55 4 63 47
80 24 15 3
85 12 6 31
45
57...

result:

wrong answer The length of shortest path shoult extend exactly K. (test case 1)