QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#662442#9492. 树上简单求和raincity0 3627ms49240kbC++144.7kb2024-10-21 00:20:032024-10-21 00:20:03

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 33256kb

input:

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

output:

12105153858659381124
18367442707572066757
11668241962484097878
11288238120352358472
1742468310074622166
9942835997686093671
3305677510569607477
17741602000425004088
14984128302052618266
1075081718074605786
6509217537832509095
16750513627843273113
8569443169249732820
14475184194298579044
156111071108...

result:

wrong answer 406th lines differ - expected: '9922034865074072035', found: '7899466993168537695'

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: 3627ms
memory: 49240kb

input:

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

output:

9042998055336671259
16726333670540858198
5835924579879681322
9187084356907537870
17810346410706951073
565636160725988981
12738928122023901778
16059573289829807099
7246210357888652619
6944713863553002854
8036352399609423749
9042305714006927228
10439389896138104194
6526772063609981609
6701207333537565...

result:

wrong answer 2nd lines differ - expected: '11611293489264521142', found: '16726333670540858198'

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:

1831848482622839129
2121982766174375300
17632529348710699043
17274003316391269390
15789711999232902997
10261251579226734158
3826871496990810836
17724808430830110316
15506320232415730279
3875478641348413995
879144780036341408
7597755161817990625
242612948152749992
9243041677385621536
9809849909601782...

result:


Subtask #6:

score: 0
Time Limit Exceeded

Test #34:

score: 0
Time Limit Exceeded

input:

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

output:

5519324519442957729
14887915538116012439
12410547297723766163
5574033792035151361
10052440989702453230
4823619242819703134
3492862387817767105
16943682513207017378
5279868896188911255
8829621038643233555
170490555000683910
14428532816637762998
6897129113402503011
9023132497407647441
1416175985367538...

result:


Subtask #7:

score: 0
Skipped

Dependency #1:

0%