QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102163#5830. 树hyforces0 2800ms789252kbC++207.8kb2023-05-02 14:32:192023-05-02 14:32:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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:

31727997027
558747812
12352524
864526649193
91729844968
585197155
1628586716
922104954
8179034005
55032863271
1832814618
1719999174
57622640036
2418952901
118234180378
87152234155
403506296655
1458062159
139639461243
708763390
974312741
22160481348
541384936
113212699461
755479298
465074986
51201631...

result:

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

Test #2:

score: 0
Wrong Answer
time: 207ms
memory: 128012kb

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:

2509771017
102808896600
528899850
125427731
1953893620
2464509541250
5038222634205
586671582
4009894450158
798898621
468901916
1620112778
25990778
1594379159
3312692843196
30663601449075
1721547889
1491500718
2600435068227
15307885378044
263989734
1350176010
1471647023925
727716410
2234098353215
184...

result:

wrong answer 1st numbers differ - expected: '2509771019', found: '2509771017'

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:

322288450117766
64144879576725
131621956495881
185914457434322
4835864125666
52498322115656
91107194743745
133549292175468
287851035115829
123171061856570
128593135281053
8701281978357
14021814206868
65043916500879
310510953889875
15605850546130
75072318943954
73630290377776
66821031747429
217424661...

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:

1437301222840
97809393230971
338628059496946
233680308853494
7398781906418
271305994085716
20877472536920
90775133038495
2535173616822
66604492511522
211534275840278
84757304677389
17886214929795
132051725657778
1860377293486
46253792387943
83950922558354
257274261335265
240943150508930
118446580800...

result:


Test #5:

score: 0
Wrong Answer
time: 2341ms
memory: 777080kb

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:

2258827503
938786623
1803221915
20412967020
11943681128
2783437093
16665953914
2720451219
1859551216
476793962
986063591
1579646960
14494867508
38176990
781099642
527479272
2392930131
2519423492
1620139571
23553905609
5107065027
6903423405
1206547830
18830610806
49589747
499629803
4275328837
1379311...

result:

wrong answer 1st numbers differ - expected: '2258826661', found: '2258827503'

Test #6:

score: 0
Wrong Answer
time: 1968ms
memory: 784864kb

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:

994048723
904057442
2995277747
3980491085976
35388104099559
976254734
369702264
43760580
1510390498
3077329651
66354234616928
716198149
190687289
105215746918548
13827394395471
557364187
1029388342
3104092
236006474
98459988732280
467858482
33049983
425890915
22790891336176
97736615472823
426018723
...

result:

wrong answer 1st numbers differ - expected: '994051214', found: '994048723'

Test #7:

score: 0
Wrong Answer
time: 1905ms
memory: 789104kb

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:

999908755
411520137
206278440230278
194002616872538
57018011116210
107873880185504
1146711853
100798039779134
2910592190
4986944771
1079678643
2140524558
108495705
9410081591298
74281071180642
167418323
58363674016097
1085722893
51861431146816
416905414090590
99152984989642
999353513
4798941081
3730...

result:

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

Test #8:

score: 0
Wrong Answer
time: 2800ms
memory: 775168kb

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:

-13727295519
-2407306244
6623
-54
-6015714574
-228028
0
-177503835
-713102
0
233770
497178
24
2895129
1357829
13
-270745
0
0
-539416993
413810
0
4
-11
0
-3573573
1488486
1
0
0
-956098
-311446794
-379954
0
265
24048
0
-2617
-1920177
83741
109644
-22312607
-893235
-2776190
-4329287714
0
-2862
164752
3...

result:

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

Test #9:

score: 0
Wrong Answer
time: 2799ms
memory: 785800kb

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:

96094115823
8243991787417
82893038835859
34208171182708
275400001
1384236356
64716567
11773599306668
10114549006775
263845836479
15632078197495
528398852
1456723427
1214745825
12973185608900
23475040
28419067425992
245789356
109738582
48543616898583
81139256343173
102619945
17650375817141
1556078592...

result:

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

Test #10:

score: 0
Wrong Answer
time: 2688ms
memory: 789252kb

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:

431855235
520373615
77562430132069
7077779560417
63182572323290
13801713151712
762014893
4985151945858
1184478798
594508194
2675566582148
25669165469641
306247618
62500137
75019031911617
786078000
31380423189127
4162774814
4984311056172
877965171
18603382588365
1013123176
8945453886746
5683574375880...

result:

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