UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34760#63. treeDarknesses100201ms4328kbC++768b2018-10-30 17:24:302018-10-30 17:24:31

answer


详细

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

Test #1:

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

input:

1
1

output:

0

result:

ok single line: '0'

Test #2:

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

input:

10
2 4 157380407
2 10 432775865
10 9 309443506
2 7 298901722
7 3 109107448
3 1 465897413
7 5 2226938...

output:

465897413

result:

ok single line: '465897413'

Test #3:

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

input:

10
3 7 894659372
7 10 142206761
3 4 65163008
3 1 718824475
3 9 438858632
7 8 594228776
3 2 780606265...

output:

894659372

result:

ok single line: '894659372'

Test #4:

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

input:

1000
975 528 52146771
528 80 459780292
975 604 50109259
528 647 615075880
647 849 14063011
80 293 37...

output:

901074193

result:

ok single line: '901074193'

Test #5:

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

input:

1000
816 56 16858422
56 321 963870030
56 892 375399332
56 403 280963418
56 621 120263729
816 294 975...

output:

909782672

result:

ok single line: '909782672'

Test #6:

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

input:

1000
336 620 46327126
336 353 520590009
336 51 29500642
51 309 55180207
309 258 29799880
336 253 656...

output:

906705133

result:

ok single line: '906705133'

Test #7:

score: 10
Accepted
time: 52ms
memory: 4324kb

input:

100000
88269 21002 140508033
21002 82575 827096367
88269 77646 900106639
21002 64822 726852285
21002...

output:

953895698

result:

ok single line: '953895698'

Test #8:

score: 10
Accepted
time: 48ms
memory: 4324kb

input:

100000
56236 75418 572875070
56236 92847 919175242
75418 64926 395318156
56236 84129 894237789
84129...

output:

963343176

result:

ok single line: '963343176'

Test #9:

score: 10
Accepted
time: 51ms
memory: 4324kb

input:

100000
89792 34935 115273454
34935 88010 60875894
34935 95663 95239496
34935 98544 15172192
34935 60...

output:

949954111

result:

ok single line: '949954111'

Test #10:

score: 10
Accepted
time: 48ms
memory: 4328kb

input:

100000
10034 89655 56955154
10034 96281 42830156
10034 29658 28760279
96281 78736 783429415
10034 89...

output:

955553371

result:

ok single line: '955553371'