UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#115012#2059. 爆破检查CanderFlower100283ms20604kbC++2.0kb2020-07-31 19:29:582020-07-31 20:29:15

answer


Details

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 20604kb

input:

5 4
1 2 1
2 3 1
2 4 1
2 5 1


output:

4

result:

ok single line: '4'

Test #2:

score: 10
Accepted
time: 0ms
memory: 20604kb

input:

6 10
4 5 592
6 4 437
6 2 865
3 6 141
2 5 580
1 4 517
1 6 899
4 2 8
3 1 670
5 3 754

output:

1105

result:

ok single line: '1105'

Test #3:

score: 10
Accepted
time: 0ms
memory: 20600kb

input:

7 15
7 1 240
6 1 977
3 2 88
7 3 178
1 3 987
6 4 710
5 4 208
1 5 70
6 7 490
4 1 168
7 2 981
5 7 675
6...

output:

870

result:

ok single line: '870'

Test #4:

score: 10
Accepted
time: 6ms
memory: 20600kb

input:

8 20
3 5 210
2 8 792
6 3 952
7 2 898
5 8 761
3 1 378
3 2 148
8 7 90
2 6 557
4 2 998
1 4 138
1 6 77
6...

output:

781

result:

ok single line: '781'

Test #5:

score: 10
Accepted
time: 3ms
memory: 20604kb

input:

9 25
5 9 367
7 1 73
3 4 545
6 5 920
6 2 45
6 4 773
5 2 206
4 7 101
9 4 592
2 3 600
2 8 328
8 3 226
7...

output:

838

result:

ok single line: '838'

Test #6:

score: 10
Accepted
time: 3ms
memory: 20600kb

input:

12 50
3 11 777
3 9 229
3 5 849
10 4 264
1 5 456
11 9 431
7 4 82
1 12 183
3 2 80
10 1 731
2 12 262
2 ...

output:

760

result:

ok single line: '760'

Test #7:

score: 10
Accepted
time: 17ms
memory: 20600kb

input:

15 100
15 5 512
6 4 556
3 4 531
8 4 882
14 15 58
3 15 584
14 4 119
1 14 585
10 9 605
12 15 80
15 7 2...

output:

660

result:

ok single line: '660'

Test #8:

score: 10
Accepted
time: 31ms
memory: 20600kb

input:

16 100
13 6 248
1 16 499
2 11 616
12 15 746
5 7 621
9 6 157
15 9 58
14 13 511
9 5 503
14 7 161
16 15...

output:

895

result:

ok single line: '895'

Test #9:

score: 10
Accepted
time: 73ms
memory: 20600kb

input:

17 100
12 11 417
2 6 32
3 15 147
3 4 205
11 4 687
1 8 169
10 12 475
17 16 967
17 10 265
1 12 511
13 ...

output:

1080

result:

ok single line: '1080'

Test #10:

score: 10
Accepted
time: 150ms
memory: 20600kb

input:

18 100
15 4 573
16 18 811
8 7 224
18 1 713
18 4 246
4 16 625
10 14 472
15 16 654
5 7 304
18 10 183
1...

output:

1324

result:

ok single line: '1324'