UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#130#9. 小h的树Renatus0301ms146256kbC++3.5kb2018-06-24 10:56:162018-06-24 13:34:21

answer


Details

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

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 524kb

input:

10 7
1 2 35129
2 3 42976
3 4 24497
2 5 83165
1 6 4748
5 7 38311
4 8 70052
3 9 3561
8 10 80238

output:

DP(6, 1, 0) = 1000000005
DP(6, 1, 1) = 1000000005
DP(6, 1, 2) = 0
DP(6, 1, 3) = 0

DP(7, 1, 0) = 100...

result:

wrong output format Expected integer, but "DP(6," found

Test #2:

score: 0
Wrong Answer
time: 115ms
memory: 146220kb

input:

3000 3000
1 2 80232
1 3 31904
1 4 24318
1 5 70898
1 6 54285
1 7 99203
1 8 36858
1 9 52269
1 10 21554...

output:

DP(3000, 1, 0) = 1000000005
DP(3000, 1, 1) = 1000000005
DP(3000, 1, 2) = 0
DP(3000, 1, 3) = 0

DP(29...

result:

wrong output format Expected integer, but "DP(3000," found

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 2712kb

input:

50 32
1 2 78088
1 3 59372
2 4 12219
3 5 17188
2 6 51314
3 7 72028
3 8 1593
4 9 65442
5 10 97450
6 11...

output:

DP(8, 1, 0) = 1000000005
DP(8, 1, 1) = 1000000005
DP(8, 1, 2) = 0
DP(8, 1, 3) = 0

DP(31, 1, 0) = 10...

result:

wrong output format Expected integer, but "DP(8," found

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 2704kb

input:

50 48
1 2 60240
2 3 71246
3 4 21134
2 5 75461
5 6 4274
6 7 87233
6 8 74521
4 9 81504
8 10 23918
5 11...

output:

DP(34, 1, 0) = 1000000005
DP(34, 1, 1) = 1000000005
DP(34, 1, 2) = 0
DP(34, 1, 3) = 0

DP(42, 1, 0) ...

result:

wrong output format Expected integer, but "DP(34," found

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 8876kb

input:

200 36
1 2 95675
1 3 46068
3 4 92249
2 5 79443
4 6 11920
6 7 28895
4 8 25231
5 9 82622
8 10 34349
8 ...

output:

DP(17, 1, 0) = 1000000005
DP(17, 1, 1) = 1000000005
DP(17, 1, 2) = 0
DP(17, 1, 3) = 0

DP(12, 1, 0) ...

result:

wrong output format Expected integer, but "DP(17," found

Test #6:

score: 0
Wrong Answer
time: 5ms
memory: 8888kb

input:

200 35
1 2 97551
2 3 27011
2 4 14709
1 5 27407
2 6 57345
5 7 63132
7 8 89143
4 9 30986
5 10 89545
7 ...

output:

DP(22, 1, 0) = 1000000005
DP(22, 1, 1) = 1000000005
DP(22, 1, 2) = 0
DP(22, 1, 3) = 0

DP(19, 1, 0) ...

result:

wrong output format Expected integer, but "DP(22," found

Test #7:

score: 0
Wrong Answer
time: 124ms
memory: 146220kb

input:

3000 666
1 2 65806
1 3 53490
1 4 43794
1 5 63048
1 6 10670
1 7 56872
1 8 71919
1 9 78642
1 10 9831
1...

output:

DP(3000, 1, 0) = 1000000005
DP(3000, 1, 1) = 1000000005
DP(3000, 1, 2) = 0
DP(3000, 1, 3) = 0

DP(29...

result:

wrong output format Expected integer, but "DP(3000," found

Test #8:

score: 0
Output Limit Exceeded

input:

3000 1633
1 2 73534
2 3 97254
3 4 96323
4 5 88456
5 6 287
6 7 7380
7 8 63246
8 9 57273
9 10 23915
10...

output:

DP(1501, 1, 0) = 1000000005
DP(1501, 1, 1) = 1000000005
DP(1501, 1, 2) = 0
DP(1501, 1, 3) = 0

DP(15...

result:


Test #9:

score: 0
Wrong Answer
time: 57ms
memory: 146256kb

input:

3000 2612
1 2 85560
1 3 99187
1 4 40779
1 5 70190
1 6 50395
1 7 9810
1 8 87504
1 9 600
1 10 78858
1 ...

output:

DP(2861, 1, 0) = 1000000005
DP(2861, 1, 1) = 1000000005
DP(2861, 1, 2) = 0
DP(2861, 1, 3) = 0

DP(28...

result:

wrong output format Expected integer, but "DP(2861," found

Test #10:

score: 0
Output Limit Exceeded

input:

3000 858
1 2 51625
1 3 28801
1 4 85825
3 5 92506
5 6 76389
4 7 74801
3 8 49889
6 9 81981
9 10 73122
...

output:

DP(39, 1, 0) = 1000000005
DP(39, 1, 1) = 1000000005
DP(39, 1, 2) = 0
DP(39, 1, 3) = 0

DP(53, 1, 0) ...

result: