UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96369#1345. The XOR-longest Pathencodetalker100125ms11888kbC++111.6kb2020-02-19 22:13:212020-02-19 22:13:23

answer


详细

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

Test #1:

score: 10
Accepted
time: 1ms
memory: 3208kb

input:

10
1 2 482095503
1 3 138437506
2 4 1171429974
3 5 386330156
3 6 1203848008
6 7 65465244
6 8 26262044...

output:

1589151708

result:

ok single line: '1589151708'

Test #2:

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

input:

10
1 2 12188248
2 3 2060207469
1 4 960096258
1 5 681126748
3 6 719580677
6 7 2084644229
4 8 73024627...

output:

2084644229

result:

ok single line: '2084644229'

Test #3:

score: 10
Accepted
time: 1ms
memory: 3208kb

input:

10
1 2 55001658
2 3 720570422
2 4 2117243561
4 5 341542084
2 6 2101897279
3 7 246834307
1 8 20750975...

output:

2117243561

result:

ok single line: '2117243561'

Test #4:

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

input:

100
1 2 2072795199
1 3 1686780614
2 4 711062920
1 5 1821695253
3 6 2028726100
4 7 2071335963
4 8 565...

output:

2147389898

result:

ok single line: '2147389898'

Test #5:

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

input:

1000
1 2 2142937073
1 3 1079721420
3 4 955693063
4 5 2122585391
5 6 2013287170
2 7 661258139
4 8 190...

output:

2147475722

result:

ok single line: '2147475722'

Test #6:

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

input:

1000
1 2 2084951038
1 3 2050033787
2 4 651809570
1 5 1205203340
3 6 1027489820
1 7 444113817
3 8 576...

output:

2147475995

result:

ok single line: '2147475995'

Test #7:

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

input:

10000
1 2 1729877824
1 3 666732830
3 4 1556832579
3 5 285453995
4 6 413727001
2 7 2067673532
7 8 437...

output:

2147483634

result:

ok single line: '2147483634'

Test #8:

score: 10
Accepted
time: 8ms
memory: 4708kb

input:

10000
1 2 2061501400
1 3 945850847
2 4 1602646764
2 5 480753839
5 6 173687004
5 7 112681701
7 8 1791...

output:

2147483643

result:

ok single line: '2147483643'

Test #9:

score: 10
Accepted
time: 56ms
memory: 11888kb

input:

100000
1 2 110171
2 3 3572918
2 4 4257699
3 5 9943514
5 6 286941
3 7 8559945
5 8 4795090
7 9 432218
...

output:

16777215

result:

ok single line: '16777215'

Test #10:

score: 10
Accepted
time: 59ms
memory: 11888kb

input:

100000
1 2 3884587
2 3 8592159
3 4 2772627
1 5 5454785
2 6 3801023
4 7 411528
6 8 6192798
4 9 785031...

output:

16777215

result:

ok single line: '16777215'