QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#713537#9492. 树上简单求和Shui_Dream0 4223ms89448kbC++232.8kb2024-11-05 19:43:582024-11-05 19:43:59

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 4ms
memory: 29032kb

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:

ok 3000 lines

Test #2:

score: 5
Accepted
time: 8ms
memory: 28880kb

input:

3000 3000
1612333876155866602 8538417838700679227 6080765231437578796 17905224638340228394 12270907925903144224 17944105326358594564 17302041033966840611 1006351124625222126 496336153231744288 9393087977687876980 9553975238547373621 9361882717200384390 15051881329169144319 9757999873162420435 882725...

output:

11133131376095771981
7909873024850695144
16250639243139481926
14562550655578101207
8274205996508264973
178549413271904466
2368406276743327913
7464009386554813982
9439464815411774627
1471756740732097060
15201641099137019227
6774030298556871576
18156105511913219667
1553508745644446823
4225137078364117...

result:

ok 3000 lines

Test #3:

score: 0
Wrong Answer
time: 11ms
memory: 29088kb

input:

3000 3000
9709246061666095435 1861649101703072889 10620139893353930613 17635186539135419482 710209455559527146 6075101384669982511 1120305006358459674 9703156967435388252 1397046737759839382 5259056712870179169 8253156305433022999 710199693203327302 15130650033641744675 10720111924616886955 15543351...

output:

14382861182447345713
12126475774559382617
9405058465002134630
6884535970797799340
13482132356270124422
2503384961438642616
15179017261670711058
12883959021692763303
8282654689700668953
16906834268020186810
268998498211622430
6434500970097431910
16280658909193932428
4859834102876213962
15809954781461...

result:

wrong answer 1st lines differ - expected: '7834604406305153073', found: '14382861182447345713'

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: 1916ms
memory: 81788kb

input:

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

output:

9042998055336671259
10332533445794394038
13015802785624685866
11388852732216841678
4122890799246957473
12038241905745606261
16726850735470780576
16059573289829807099
16194885456246445387
5608435144164388913
17088098442183693937
15662440425705056124
9555867365705608608
8976106584403511977
12432100939...

result:

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

Subtask #5:

score: 0
Wrong Answer

Test #27:

score: 0
Wrong Answer
time: 4223ms
memory: 88200kb

input:

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

output:

4185593101757092669
17321019456780983938
5170945854429976523
17678081412762135922
12281314206014945829
13310522473827858312
14650773990582552419
13962022842226642232
2309950996965124771
7601628575319001644
1092140292892172709
15504391653141169665
14259691326434438998
2518039333893063522
145169904319...

result:

wrong answer 1st lines differ - expected: '11479812171669345085', found: '4185593101757092669'

Subtask #6:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 1277ms
memory: 89448kb

input:

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

output:

18074579416842782113
5687398891702802723
10625625646005637413
6007208543797661069
15547621951652539011
53092091452419523
273926328745936122
10296428352441857103
17641710079622066896
12770138484583051935
13636821924087539989
4509966487596204527
8373343136712713232
9023132497407647441
1440586937512004...

result:

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

Subtask #7:

score: 0
Skipped

Dependency #1:

0%