QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#667528#9492. 树上简单求和yoy680 1694ms77492kbC++202.9kb2024-10-22 23:57:012024-10-22 23:57:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 4ms
memory: 30708kb

input:

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

output:

18084912154070816041
5052275605434024308
12885165615808762627
243204083665007609
10484423739393836258
15429857322915418407
10771752829739964843
11440652423979650547
4861021523766881886
11722060377357013055
14494028411413098285
7232810417488692501
6029909593602576004
18276652084274146513
179008988750...

result:

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

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: 1694ms
memory: 49472kb

input:

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

output:

5037261201588181723
11674915143660784896
16882004203118687895
13427598513081902822
12159854527591414362
5395333901827728352
813637752366440087
10010658689805469805
12242796265247858511
17219767690336845960
3217105154788799371
13839604699692365970
11638006236113760243
942247385470140708
1429911043478...

result:

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

Subtask #5:

score: 0
Wrong Answer

Test #27:

score: 0
Wrong Answer
time: 718ms
memory: 69592kb

input:

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

output:

16383686243729624560
2449177446704683502
10209085453608941115
11682526081212034612
437086604004345493
8481981562535905587
9476956678951497122
14899868553325496908
2180212196061412027
8003223141465564722
6826158222669247684
15409847051997379880
2089881303086726996
12614211642254371564
832721713612672...

result:

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

Subtask #6:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 914ms
memory: 77492kb

input:

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

output:

8329569755192287973
2849071615564128392
7830808765679385322
2676244810381785162
15534865590774275550
7856868912067418300
1661284518643823478
18195806672260651991
12659845184852942514
2169442484357098659
14736466010738813018
8693187802776008676
6051986545706970572
4210897514903075605
4248864578654433...

result:

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

Subtask #7:

score: 0
Skipped

Dependency #1:

0%