UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#103037#1571. 激光炸弹zsq2591001326ms98292kbC++919b2020-02-28 15:29:582020-02-28 15:30:00

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 152ms
memory: 98292kb

input:

10000 1000
2123 1716 2
2005 3568 3
1993 3954 10
146 4182 1
2764 1637 6
2856 2848 3
2966 843 6
1948 3...

output:

2681

result:

ok single line: '2681'

Test #2:

score: 10
Accepted
time: 121ms
memory: 98288kb

input:

10000 1000
1948 1936 5
2197 1247 7
4913 3397 3
3398 912 3
4472 3768 4
839 1980 6
2202 4365 5
2190 22...

output:

2637

result:

ok single line: '2637'

Test #3:

score: 10
Accepted
time: 143ms
memory: 98292kb

input:

2000 100
543 144 8
822 348 13
933 109 8
755 288 10
781 894 13
931 460 13
644 407 1
575 209 12
805 21...

output:

381

result:

ok single line: '381'

Test #4:

score: 10
Accepted
time: 139ms
memory: 98288kb

input:

10000 500
0 1 20
1 1 4
1 2 18
2 2 7
2 3 1
3 3 1
3 4 20
4 4 4
4 5 1
5 5 20
5 6 17
6 6 18
6 7 12
7 7 1...

output:

10887

result:

ok single line: '10887'

Test #5:

score: 10
Accepted
time: 124ms
memory: 98292kb

input:

8000 500
4022 4461 7
3978 1400 3
2644 3560 14
44 1269 5
895 4977 11
3390 2305 19
2291 1268 17
1616 3...

output:

1234

result:

ok single line: '1234'

Test #6:

score: 10
Accepted
time: 142ms
memory: 98292kb

input:

10 5
8 15 91
14 2 83
8 13 65
16 3 81
5 3 64
1 18 9
15 0 77
12 16 97
7 19 49
6 12 61

output:

253

result:

ok single line: '253'

Test #7:

score: 10
Accepted
time: 114ms
memory: 98288kb

input:

5000 500
85 1537 3
2233 1138 19
533 2574 17
992 1067 11
1397 1840 14
2166 2183 11
1707 1084 14
1000 ...

output:

4557

result:

ok single line: '4557'

Test #8:

score: 10
Accepted
time: 133ms
memory: 98284kb

input:

200 100
632 90 79
739 370 53
829 142 29
527 398 17
535 221 74
50 963 15
654 151 92
376 107 69
266 89...

output:

476

result:

ok single line: '476'

Test #9:

score: 10
Accepted
time: 131ms
memory: 98292kb

input:

10000 500
0 1 3
0 2 18
0 3 1
0 4 6
0 5 1
0 6 20
0 7 20
0 8 17
0 9 8
0 10 1
0 11 10
0 12 20
0 13 15
0...

output:

10725

result:

ok single line: '10725'

Test #10:

score: 10
Accepted
time: 127ms
memory: 98292kb

input:

50 20
43 36 35
12 25 23
7 49 59
24 27 62
17 14 89
49 39 77
5 6 38
32 14 84
4 25 29
22 1 87
32 21 1
2...

output:

688

result:

ok single line: '688'