QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#662406#9492. 树上简单求和raincity0 3192ms48012kbC++144.0kb2024-10-20 23:50:212024-10-20 23:50:22

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

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

output:

17789622374630282240
3305584258672347100
17662182201648564020
14678001461115722510
18106982156439460498
13655503014483695072
9503929147191486796
18413478131968994096
1707946952878850805
3794746101266721596
6014295959591020340
17300506751376803874
9794968300711950893
14121202284158263635
947250208912...

result:

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

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: 3192ms
memory: 48012kb

input:

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

output:

9608108487948219207
16754662347620367212
8376685145459528183
4284754046100172269
17483270623776159043
6244930811226345930
8282337545031912275
18049781303121841090
4544417576960287364
10612316200931095652
16532996335825464503
14431084497937091098
10597562748959519000
8587194106313437524
7243158398931...

result:

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

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:

12815868765796560744
4298820513299890297
5730360649363178117
4469794935293627966
13474507177068925290
10841761290296839203
16936832714094132154
5165420721790656602
157344204783725205
18243358585414434215
11114609986923858238
12461893452629653226
3855976055460912204
16495433199592562013
8933152820276...

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:

11474885485149911431
5967122271385846342
13965770640569691250
14347444715106757653
11175765286391289995
8205090094541689030
3226145138660445229
14370369392791366978
7589498915158604146
4689121469459685428
3277369573622455252
1589843886117024641
9219693369398373838
3115506346046029434
572785963475872...

result:


Subtask #7:

score: 0
Skipped

Dependency #1:

0%