QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#713441#9492. 树上简单求和Shui_Dream0 3277ms107112kbC++232.6kb2024-11-05 19:24:172024-11-05 19:24:17

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 6ms
memory: 22708kb

input:

3000 3000
7236742292501328495 17973811477309806363 16075782662531676171 17971236571771878676 11392080645527132110 3685563455925680459 9773593720088356683 8313828403245053795 7736401634567449043 1634817828009987181 6951124933529719486 12775126714635387213 15460977209223753216 397573676785925632 31372...

output:

18446744067012784004
12367694277
10455081814
1201676360
778010838
8959809383
2139078965
18446744066020420664
18446744065802842138
31781978330
71294631
6458188185
25132738772
18446744073567209572
20436212908
7531543883
3739365960
18446744069764549355
8005462237
18446744067587842098
184467440723822989...

result:

wrong answer 1st lines differ - expected: '12105153858659381124', found: '18446744067012784004'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #21:

score: 0
Wrong Answer
time: 3277ms
memory: 79320kb

input:

200000 200000
622783158027686223 2242697872372232537 8481648430436878777 10092474834140799044 15403999682625301609 12614289513474949582 9180944589267018841 7823784919308285798 8257785171198951273 5134508521895120821 8041682272181381093 3835432206618893170 2653803171409877650 5589823419153460372 1007...

output:

18446744047015163931
7556755382
18446744040418508074
18446744052755174862
18446744062986247073
18446744028078683765
8769740960
18446744073183704059
18446744042264171851
19356463153
18446744026955896433
18446744063003469692
18446744054074011040
18446744050312317609
37129742630
18446744015061781482
26...

result:

wrong answer 1st lines differ - expected: '9042998055336671259', found: '18446744047015163931'

Subtask #5:

score: 0
Time Limit Exceeded

Test #27:

score: 0
Time Limit Exceeded

input:

200000 200000
1958469220619413759 14991498002015735322 6054491201406941902 18206143187746582567 15082377615826460430 2936248617457291604 10073577150351675920 16534472678586906457 2207599132486246393 10301540360769075442 1492580560381080472 551692353431379140 13238280352539145808 8462626987240986565 ...

output:

1721543310042895165
1055326519772012162
18237116682538833867
15904792336545049970
6527984966452296229
6998671336291497864
1559122684874622819
15375336385650036024
17289727963887725219
8947049238527281708
10997137194538934693
13098757363727517185
7721151235194613590
4130067944516895586
16333863045319...

result:


Subtask #6:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 2092ms
memory: 107112kb

input:

200000 200000
6794776813641982926 1561596256197101737 10910039723053043515 7892247858295192798 12233819960547881004 17695389034783066733 9173201689566865598 17626618141377486739 7358781671024283919 6787559733384974662 3884392438269280436 14872846228351316833 9037842441501571648 14299818404271084016 ...

output:

2046628630657779105
2574738798397446435
10066842313372619045
17198349864841268621
12647382990822877827
16802522122653494723
9029707479403414778
18446743865983415375
9579306245912605392
18368360357549716127
6912798065237633301
15653480881934729711
14777964408201503760
18446743911126015697
17722681530...

result:

wrong answer 1st lines differ - expected: '5519324519442957729', found: '2046628630657779105'

Subtask #7:

score: 0
Skipped

Dependency #1:

0%