QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#656324#7003. Rikka with Minimum Spanning TreesZhangYiDeWA 754ms5808kbC++171.1kb2024-10-19 12:23:352024-10-19 12:23:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 5640kb

input:

1
2 100000 123456789 987654321

output:

575673759

result:

ok single line: '575673759'

Test #2:

score: -100
Wrong Answer
time: 754ms
memory: 5808kb

input:

100
17085 100000 676466090490 878574984049
24353 100000 685976930882 229685257786
4 100000 471961964055 157860429766
15406 100000 410376133349 828755231175
1 100000 809050431491 785471826497
1796 100000 218311747353 410830725634
93449 100000 761721499751 355474414706
3214 100000 277812617111 2429646...

output:

436638303
216567542
405150678
355979925
0
50713419
918381795
512195596
338362921
521086329
139607202
289558312
831627251
345103943
788519192
306890280
168133083
308823048
813378518
25758919
733644946
851485656
196406140
128088006
80292565
315609167
632805182
745061180
939817511
995073785
854970966
9...

result:

wrong answer 2nd lines differ - expected: '0', found: '216567542'