QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102138#5830. 树hyforces0 3351ms813180kbC++207.2kb2023-05-02 13:30:182023-05-02 13:30:19

详细

Test #1:

score: 0
Wrong Answer
time: 35ms
memory: 275348kb

input:

2000
946347867 341162491 202762650 295215762 254064439 66267204 693162580 357612557 492940637 939526638 59775103 374919339 144042807 861369313 651043728 999024805 439554916 167782038 597475252 56704409 69846137 22185655 79439847 769194737 145071391 226046618 915359433 392527325 84982946 54584098 827...

output:

84757622131
558747765
12352493
864526658718
91729842474
585197122
-1811834474
922104938
12773716740
88784401150
1832814618
1719999173
57622639685
2418952903
153242230288
95876451029
403506300625
1458062157
139639465578
708763386
974312745
22160481843
541384935
139117682210
755479325
465075002
512016...

result:

wrong answer 1st numbers differ - expected: '31727996563', found: '84757622131'

Test #2:

score: 0
Wrong Answer
time: 279ms
memory: 328548kb

input:

99999
792064428 473106195 799314986 65440734 948726345 442414256 280245405 873012700 466192412 899092866 283555341 657824017 963883713 793944180 767444438 105576842 542107696 580140098 65321660 381184238 584604194 397414881 861590124 309323011 217641157 120832524 303744205 961590116 110259426 380351...

output:

2509771019
102808885993
528900206
125427839
1953894761
2464509200146
5038223818158
586671441
5536960776796
798898623
468901866
1620111998
25990776
1594379152
4258146770594
30663601147827
1721547881
1491500647
2876414381239
15307884529294
263989598
1350177369
1758391338299
727716224
2234098514631
184...

result:

wrong answer 2nd numbers differ - expected: '102808896745', found: '102808885993'

Test #3:

score: 0
Time Limit Exceeded

input:

1000000
947727010 179844140 923847675 171881267 5552129 974443359 989307850 869400987 126992154 527448411 141137718 136124474 917813105 392020809 79012342 473860575 969007624 833563354 90169336 878445705 84352622 403307122 733751738 670851448 942399068 731541999 101293644 545785337 964751520 9168003...

output:

322288180595345
64144900444023
131621992874362
185914449206495
4835864536999
52498320047300
91107191167946
133549265294890
287851078359140
123171067016186
128593134440538
8701280311335
14021811618693
65043919486113
310510908841731
15605852792829
75072265994522
73630260235120
66821009550818
217424650...

result:


Test #4:

score: 0
Time Limit Exceeded

input:

1000000
264862971 751386013 921867736 711577153 262726588 565608444 975324815 440219681 107888226 928241413 729126923 283912914 86248857 896446999 12839598 651796991 139813366 105131395 341646170 839485925 939265720 844548518 102280410 457829889 8602879 737140565 17206920 974175632 535833885 8373832...

output:

1437301063221
97809309869545
338628270305337
233680181746714
7398781587300
271306073103235
20877473367084
90775179215463
2535173725689
66604505519276
211534325021331
84757341592614
17886216279466
132051595671397
1860377236584
46253790496717
83950882453932
257274371637175
240943229927301
118446604805...

result:


Test #5:

score: 0
Wrong Answer
time: 2930ms
memory: 793560kb

input:

1000000
978606419 773027389 111265179 979476504 280718851 476857501 751854950 579263969 848569548 781051974 31782627 533831186 812822170 111553645 297770650 331144396 676977983 2236128 258203325 75591120 676466973 60056446 494411414 286185093 92474576 173276071 535648669 87210101 355790411 880267291...

output:

2258826661
938787634
1803221827
22056645033
17399700162
2783437365
16665953904
2720450286
1859550937
476794685
986063589
1579646260
25161622790
38178160
781099105
527479274
4059440056
2519423502
322426760
25794352426
9406218002
6903419915
1206547388
20485621435
49589875
499630487
5197681336
13793168...

result:

wrong answer 2nd numbers differ - expected: '938786622', found: '938787634'

Test #6:

score: 0
Wrong Answer
time: 2519ms
memory: 802560kb

input:

1000000
952470566 585754087 120174600 401525004 458588768 5487567 31210348 446333263 231409083 521960132 457721893 866842852 925207283 16805978 4706826 99640835 619272676 136536623 459247161 308807462 633687300 717271369 23906473 865522890 173799280 424309108 719410673 118906385 110627845 730629403 ...

output:

994051214
904581730
2996327371
3980482354836
35388152478627
977300524
369701890
414432196
1510389651
3563868672
66354196041093
1062752517
190685967
105216044247500
13827403731388
512799707
857822871
38755676
223213553
98459840072751
468901249
35146679
399340249
22790694373254
97736818542985
77834025...

result:

wrong answer 2nd numbers differ - expected: '904057442', found: '904581730'

Test #7:

score: 0
Wrong Answer
time: 2463ms
memory: 811116kb

input:

1000000
732367509 105027907 958920212 886798715 102486738 813075884 301085392 242303497 979657287 944859684 307768 438158233 561755409 740706505 791145209 283862713 828081846 771569552 59044985 600549571 191330226 438693570 36976319 810654215 220068818 771875421 740642902 839964155 206129566 2065543...

output:

998860177
425887727
206278009505490
194002096091750
57017706122165
107873861311877
1145138979
100797696474265
2186024116
4787290647
1131059431
2372784528
62407556
9410118430197
74280963297916
-59286824
58363712936348
1078927322
51861104604521
416904435003483
99152990446925
1057845348
4801039213
3730...

result:

wrong answer 1st numbers differ - expected: '999908753', found: '998860177'

Test #8:

score: 0
Wrong Answer
time: 3351ms
memory: 795848kb

input:

1000000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

-19731988578
-5875781802
-1973162973
-896305
-44566341374
-884046243
2
-2649444118
-84565522
1
467547
1
1
1
-748665
1328462
-968147375
1
382910
-8174905093
8
2
1591376
-855407
6
-6981467671
1
499108
1939906
244858
1912204
-4766319955
-6123009010
948756
301348
-509587314
10
-1794898974
-3911749837
-1...

result:

wrong answer 1st numbers differ - expected: '3826404725', found: '-19731988578'

Test #9:

score: 0
Wrong Answer
time: 3327ms
memory: 806212kb

input:

1000000
465660691 982007525 816592310 377030959 572981469 679249520 86377999 709561525 940473306 35102782 886143915 792819787 903287397 264564177 857982095 91486434 217197704 123118964 383387342 820268798 497623987 255010796 607884194 848568529 38169627 197987657 421323589 664004905 485409127 696844...

output:

96094095983
8243994145115
88637649494390
34208171180799
275399792
1384234654
64714784
11773598593112
10114549437012
263845831954
21648082669667
528396991
1456724799
1214745564
12973174013263
23474119
37513821373681
245789358
109736863
48543610932901
83127355218025
102619939
25688305152726
1556076353...

result:

wrong answer 1st numbers differ - expected: '96094116015', found: '96094095983'

Test #10:

score: 0
Wrong Answer
time: 3186ms
memory: 813180kb

input:

1000000
665830082 788228483 245541444 289601309 641764988 150723484 925214020 557415731 310210969 379707835 517820381 883917428 134445288 775557009 444476671 89856268 655841087 888410254 37788122 694551869 563331754 488108584 839551943 415095075 445425438 35452604 562044723 640544531 146258096 66852...

output:

431857599
520374226
101111519793217
7077776406413
63182566030890
13801710952980
762015332
4985155368653
1184478260
594507511
2675567952745
25669145185334
306250439
62499669
75019017517844
786078000
31380407125016
4024882664
4984314025742
877965865
18603382653580
1013123764
8945455065497
568357315259...

result:

wrong answer 1st numbers differ - expected: '431856043', found: '431857599'