QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465850#3976. Delivery Delaysucup-team1005#WA 724ms11636kbC++201.3kb2024-07-07 11:51:302024-07-07 11:51:31

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 11456kb

input:

4 4
1 2 2
2 3 4
3 4 1
4 1 2
3
1 4 2
3 3 3
4 3 6

output:

6

result:

ok single line: '6'

Test #2:

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

input:

3 2
1 2 1
3 2 2
4
0 3 1
1 3 3
2 2 4
4 3 6

output:

8

result:

ok single line: '8'

Test #3:

score: 0
Accepted
time: 3ms
memory: 11472kb

input:

100 99
93 43 2
14 58 5
57 64 1
95 87 6
36 78 1
92 65 8
41 14 3
93 70 1
29 80 4
5 76 5
73 7 4
58 18 8
35 93 1
93 81 7
2 67 4
82 59 1
65 55 0
95 48 4
94 86 0
88 49 0
72 85 1
23 47 6
27 22 1
28 55 0
78 30 3
30 53 3
12 100 6
64 65 2
98 8 1
16 96 7
60 3 2
81 24 3
6 18 2
45 30 1
98 17 6
75 57 6
50 33 8
63...

output:

6854

result:

ok single line: '6854'

Test #4:

score: 0
Accepted
time: 3ms
memory: 11424kb

input:

100 99
57 37 4
95 89 5
11 3 7
4 5 2
46 76 5
68 32 4
66 28 7
66 74 8
63 59 7
31 61 6
72 98 7
8 95 4
98 82 6
78 24 3
30 31 2
6 47 7
93 59 4
73 45 8
64 36 6
52 92 1
70 34 1
5 15 1
85 29 5
78 14 2
56 20 8
87 75 2
18 66 6
65 64 1
1 8 1
91 100 0
79 22 2
18 23 4
21 97 6
33 48 3
77 72 5
17 88 7
78 12 2
36 9...

output:

2969

result:

ok single line: '2969'

Test #5:

score: 0
Accepted
time: 3ms
memory: 11352kb

input:

100 99
18 57 3
54 65 4
94 34 8
90 42 8
61 77 6
92 14 0
84 92 7
58 50 5
56 100 0
18 5 0
60 2 2
54 39 0
30 44 1
61 32 0
9 19 1
91 57 7
10 48 0
82 43 1
1 31 8
66 98 8
93 77 7
15 81 5
61 40 2
85 55 5
22 78 1
75 53 5
20 67 6
78 86 6
30 48 4
69 75 5
61 79 4
12 61 3
97 53 5
9 63 6
86 90 1
50 65 2
64 28 8
7...

output:

282

result:

ok single line: '282'

Test #6:

score: 0
Accepted
time: 3ms
memory: 11616kb

input:

100 99
91 66 1
57 81 8
83 4 2
78 75 5
91 74 2
81 99 2
5 39 2
30 21 5
69 67 7
71 12 5
72 82 4
3 52 8
73 48 0
77 37 2
35 62 0
98 33 4
63 22 1
38 1 8
43 69 1
90 61 7
6 34 7
32 23 8
3 20 1
11 94 8
89 98 3
66 25 6
62 15 4
40 30 5
93 58 3
71 27 2
6 60 0
38 74 0
26 53 5
17 12 8
11 6 7
40 34 4
40 88 8
56 37...

output:

4991

result:

ok single line: '4991'

Test #7:

score: -100
Wrong Answer
time: 724ms
memory: 11636kb

input:

1000 5000
729 279 53479479
520 788 28270992
527 934 28340161
928 454 51158146
917 261 60090787
152 249 37047363
65 290 86316785
154 289 0
152 196 68719529
382 68 59798216
241 71 0
356 306 11805202
249 957 11605881
751 6 62425243
650 125 28087608
894 698 42697781
360 636 48942200
976 201 81667831
912...

output:

1

result:

wrong answer 1st lines differ - expected: '0', found: '1'