QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#270202 | #7602. AtCoder Quality Problem | ucup-team883 | AC ✓ | 269ms | 36636kb | C++20 | 1.5kb | 2023-11-30 16:25:10 | 2023-11-30 16:25:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 19576kb
input:
2 -5 9 9 -5 10 -8 -6 3
output:
-16
result:
ok 1 number(s): "-16"
Test #2:
score: 0
Accepted
time: 0ms
memory: 19820kb
input:
3 -15 19 19 -5 30 -3 -16 13 29 -6 -14 -7 24 -5 18 11
output:
-22
result:
ok 1 number(s): "-22"
Test #3:
score: 0
Accepted
time: 0ms
memory: 11940kb
input:
0 -129363358 227605714
output:
-129363358
result:
ok 1 number(s): "-129363358"
Test #4:
score: 0
Accepted
time: 0ms
memory: 11940kb
input:
1 -120923470 -355154745 -18478014 104068715
output:
-476078215
result:
ok 1 number(s): "-476078215"
Test #5:
score: 0
Accepted
time: 0ms
memory: 11928kb
input:
3 41 38 35 12 5 15 42 18 37 35 39 13 10 14 11 19
output:
173
result:
ok 1 number(s): "173"
Test #6:
score: 0
Accepted
time: 0ms
memory: 11996kb
input:
1 447411177 999962412 75398577 1000000000
output:
1075360989
result:
ok 1 number(s): "1075360989"
Test #7:
score: 0
Accepted
time: 0ms
memory: 11932kb
input:
2 541967866 999946894 999908551 999933425 802281802 999999999 999999998 1000000000
output:
3541756736
result:
ok 1 number(s): "3541756736"
Test #8:
score: 0
Accepted
time: 3ms
memory: 11876kb
input:
2 -591907002 -631584280 -82130700 -47139019 394493455 342618764 522430575 -795985943
output:
-1497046650
result:
ok 1 number(s): "-1497046650"
Test #9:
score: 0
Accepted
time: 0ms
memory: 11944kb
input:
3 -171206159 936370675 -234770959 385985985 -595014568 -767200376 -547513228 752635461 -447827147 893784076 509717332 462775018 -988016389 619744902 288557026 -943739157
output:
-1185562884
result:
ok 1 number(s): "-1185562884"
Test #10:
score: 0
Accepted
time: 3ms
memory: 11956kb
input:
3 393401589 999934081 999999994 999965844 999999997 999999998 999999999 1000000000 189681919 999999995 999975199 999999996 999930168 999954712 999974096 999931888
output:
7189347907
result:
ok 1 number(s): "7189347907"
Test #11:
score: 0
Accepted
time: 0ms
memory: 11864kb
input:
4 115735040 214224088 -876138468 -681488084 248861494 -598540262 -611821329 -977877438 -637747543 -894741939 436827787 989876970 -712800464 894435280 -884786500 658210126 403466625 890188370 251116721 -75373484 -174752803 66881915 -49264751 -926462665 750597037 -207794593 -286674914 501841084 650906...
output:
-3741385539
result:
ok 1 number(s): "-3741385539"
Test #12:
score: 0
Accepted
time: 3ms
memory: 11944kb
input:
4 707006165 999931480 999910977 999963510 999999993 999999994 999999995 999999996 999999986 999938199 999959041 999936240 999999997 999999998 999999999 1000000000 234008653 999999987 999999989 999999990 999940340 999962150 999987449 999927085 999924481 999999988 999999991 999999992 999923963 9999649...
output:
15233229009
result:
ok 1 number(s): "15233229009"
Test #13:
score: 0
Accepted
time: 0ms
memory: 11960kb
input:
5 -372484001 -718797873 -71733037 -305985877 -302390580 688580065 953829936 -174152748 -354796150 -208366118 602432769 -109135999 -141629363 629250437 148469410 -922110400 6838005 -548964926 755884083 -118488699 -47397060 -170218328 147982077 176640586 -415212239 -469211052 -615779993 -93655987 8812...
output:
-6602458211
result:
ok 1 number(s): "-6602458211"
Test #14:
score: 0
Accepted
time: 0ms
memory: 12020kb
input:
5 944197405 999901843 999980099 999972468 999970983 999939516 999964620 999955043 999966531 999910408 999960486 999966672 999907993 999906157 999988296 999901671 999999973 999999974 999999975 999999976 999903220 999900152 999977588 999942146 999940008 999900147 999923067 999910181 999958604 99998124...
output:
31035576167
result:
ok 1 number(s): "31035576167"
Test #15:
score: 0
Accepted
time: 0ms
memory: 11928kb
input:
6 894160753 -40765257 756192742 -715210981 -665161889 689390758 -971118137 130413899 705869256 -985182887 126364860 -437546266 -680392242 -25088398 280403740 -569342321 398323529 -412037831 901344037 781760330 508120205 -52595827 363978553 164811685 -526064553 -838271660 33559727 201919862 251549007...
output:
-7198177781
result:
ok 1 number(s): "-7198177781"
Test #16:
score: 0
Accepted
time: 0ms
memory: 11908kb
input:
6 217318425 999907779 999999953 999999954 999970578 999982200 999999955 999999956 999962475 999988230 999999957 999999958 999981520 999964252 999999959 999999960 999999945 999999946 999999961 999999962 999999947 999999948 999999963 999999964 999999949 999999950 999999965 999999966 999999951 99999995...
output:
63214307294
result:
ok 1 number(s): "63214307294"
Test #17:
score: 0
Accepted
time: 0ms
memory: 12020kb
input:
7 -144387272 -925935230 -66023825 -308291 -103826832 -651132608 -862525528 -700882982 -610718651 -134354615 349366652 871644839 -502522794 -337967790 860671673 293466450 355597611 909572949 662911151 709998670 -676854046 -588326037 699018047 -76127379 -393184583 493322537 -21687712 -717610923 -81415...
output:
-9269231105
result:
ok 1 number(s): "-9269231105"
Test #18:
score: 0
Accepted
time: 0ms
memory: 11940kb
input:
7 251688338 999999881 999970651 999999882 999999875 999999883 999983411 999999884 999988012 999985810 999939167 999913756 999906813 999959286 999927279 999948318 999999905 999999906 999999907 999999908 999999909 999999910 999999911 999999912 999999913 999999914 999999915 999999916 999999917 99999991...
output:
127245709911
result:
ok 1 number(s): "127245709911"
Test #19:
score: 0
Accepted
time: 3ms
memory: 12004kb
input:
8 207244104 352928581 595582159 -658691190 -680536706 665214825 169505491 141788883 777149294 -263847939 -736943175 666388453 -842907171 817429097 -876764676 -377531542 -177010042 785508010 -200115038 -210541742 -448535673 298236811 946322466 423814919 -31291725 -574157728 330929237 -985883142 83694...
output:
-30801112748
result:
ok 1 number(s): "-30801112748"
Test #20:
score: 0
Accepted
time: 3ms
memory: 11920kb
input:
8 713292830 999918475 999999753 999999754 999999749 999999750 999999755 999999756 999999746 999992936 999999757 999999758 999999751 999999752 999999759 999999760 999999809 999999810 999999811 999999812 999999813 999999814 999999815 999999816 999999817 999999818 999999819 999999820 999999821 99999982...
output:
255700973944
result:
ok 1 number(s): "255700973944"
Test #21:
score: 0
Accepted
time: 3ms
memory: 11948kb
input:
9 -23216288 -101055911 -91428725 -661088694 530937006 64028446 -541909873 291256859 -637443836 -154947518 685355402 -479092017 -641967318 -726287649 676907808 -572113683 988507974 -338843538 64219942 -143902342 -148000933 889439166 758116142 241928355 133269330 -22268978 -315605935 120977797 -540147...
output:
-35604016904
result:
ok 1 number(s): "-35604016904"
Test #22:
score: 0
Accepted
time: 0ms
memory: 11964kb
input:
9 192582297 999999553 999999505 999999554 999999493 999999555 999999506 999999556 999999490 999999557 999999507 999999558 999999494 999999559 999999508 999999560 999910046 999999561 999999509 999999562 999981227 999999563 999999510 999999564 999955869 999999565 999999511 999999566 999970957 99999956...
output:
511168301431
result:
ok 1 number(s): "511168301431"
Test #23:
score: 0
Accepted
time: 3ms
memory: 11988kb
input:
10 795041539 829509923 -249578193 -898238555 -755035541 -797835372 -733761319 257444053 -277239866 -110362759 792666656 -175090482 310078276 663705137 890400163 -451523697 322282342 593839238 -374508555 663531047 -483993040 -391318123 -113392902 -195225337 521092470 -218446024 719218988 -794676185 9...
output:
-52128621268
result:
ok 1 number(s): "-52128621268"
Test #24:
score: 0
Accepted
time: 0ms
memory: 11968kb
input:
10 695810379 999998993 999998979 999998994 999933898 999998995 999911832 999998996 999915763 999977739 999954018 999906970 999952663 999950268 999961047 999973389 999990184 999939875 999964464 999949191 999997381 999943659 999985836 999966469 999991549 999987039 999941159 999989167 999933028 9999708...
output:
1023246048132
result:
ok 1 number(s): "1023246048132"
Test #25:
score: 0
Accepted
time: 3ms
memory: 11948kb
input:
11 830338346 -716214801 240487314 -388548276 624625643 589699654 -120703512 738975171 -9904612 -378515119 149409013 -412716920 -770553148 583609512 98197701 -202853463 439334659 397471079 -693751438 -113647209 392178075 -679647920 854205681 439400304 696437421 -115464157 133391955 548341022 -1083505...
output:
-71326375263
result:
ok 1 number(s): "-71326375263"
Test #26:
score: 0
Accepted
time: 4ms
memory: 11924kb
input:
11 754311846 999925123 999922293 999902919 999998017 999998018 999950673 999989477 999998465 999998466 999998467 999998468 999998469 999998470 999998471 999998472 999995432 999968324 999970652 999905570 999998019 999998020 999964139 999939228 999998473 999998474 999998475 999998476 999998477 9999984...
output:
2046980679750
result:
ok 1 number(s): "2046980679750"
Test #27:
score: 0
Accepted
time: 0ms
memory: 12044kb
input:
12 -629609758 153133493 554278078 -448958210 -667001452 -260735419 494781103 -184067228 821942841 -727707610 -613709782 696971046 441703668 314901318 -233909550 308596157 -65323079 501319635 -792725433 430769771 -190039065 -302106461 764998486 -72418004 -905621330 -23250569 138536454 -666189409 9315...
output:
-127968499400
result:
ok 1 number(s): "-127968499400"
Test #28:
score: 0
Accepted
time: 0ms
memory: 12056kb
input:
12 578706068 999996929 999978846 999996930 999997953 999997954 999997955 999997956 999995921 999996931 999995922 999996932 999997957 999997958 999997959 999997960 999952201 999996933 999901961 999996934 999997961 999997962 999997963 999997964 999995923 999996935 999995924 999996936 999997965 9999979...
output:
4094989640990
result:
ok 1 number(s): "4094989640990"
Test #29:
score: 0
Accepted
time: 5ms
memory: 12152kb
input:
13 236583660 585387958 105301171 724144917 -609103080 495366991 -358807165 -878160326 161407816 794625522 -155326537 760327791 -731031854 -966205840 -668966638 -781890589 -881349887 -297305615 987536310 -36708034 768603284 -841637616 -439781711 -80623509 -720914171 740477481 -54630493 -475682883 327...
output:
-146961151951
result:
ok 1 number(s): "-146961151951"
Test #30:
score: 0
Accepted
time: 4ms
memory: 12216kb
input:
13 158497288 999991873 999917593 999991874 999992321 999992322 999992323 999992324 999991841 999991875 999991842 999991876 999992325 999992326 999992327 999992328 999892793 999941726 999945457 999913001 999992329 999992330 999992331 999992332 999964048 999935952 999971360 999931206 999992333 9999923...
output:
8190645033773
result:
ok 1 number(s): "8190645033773"
Test #31:
score: 0
Accepted
time: 3ms
memory: 12268kb
input:
14 -549860664 -749043103 700176403 -829721574 785397043 -323074105 303034582 689198068 -288423594 451781618 -851488586 67754491 -375664810 424138322 -59151694 -31737491 522091976 -568003553 169224206 -225333894 -822773961 332529405 888457827 -799034285 -790170355 822536715 323347697 567795531 517805...
output:
-296349808682
result:
ok 1 number(s): "-296349808682"
Test #32:
score: 0
Accepted
time: 0ms
memory: 12276kb
input:
14 502141495 999983633 999984129 999984130 999981283 999983634 999984131 999984132 999917453 999950388 999984133 999984134 999932825 999939007 999984135 999984136 999983618 999983635 999984137 999984138 999929664 999983636 999984139 999984140 999937983 999978541 999984141 999984142 999938156 9999526...
output:
16382541018816
result:
ok 1 number(s): "16382541018816"
Test #33:
score: 0
Accepted
time: 6ms
memory: 12792kb
input:
15 435779435 -804044792 63270752 751429204 999360549 -819723617 497085131 843187937 -714303244 980602691 -337184759 -182828304 -691392771 -664663928 412463179 -307648329 -622533725 129381927 803366798 799403297 -343158940 -653695589 379548638 -985131261 302836868 430998325 -138647461 -839090001 1772...
output:
-314172975139
result:
ok 1 number(s): "-314172975139"
Test #34:
score: 0
Accepted
time: 4ms
memory: 12712kb
input:
15 267227278 999971329 999967489 999971330 999964950 999971331 999967490 999971332 999909324 999971333 999967491 999971334 999896958 999971335 999967492 999971336 999925826 999971337 999900999 999971338 999898035 999971339 999871939 999971340 999913678 999971341 999882923 999971342 999922959 9999713...
output:
32764990261313
result:
ok 1 number(s): "32764990261313"
Test #35:
score: 0
Accepted
time: 12ms
memory: 13540kb
input:
16 542007866 -811151029 -242294542 -860147826 483523226 288361074 -849837659 -325916739 -320594379 -991915917 69105311 424564756 -625897193 149266301 724770728 -610207347 -199075564 -379837951 616671979 635852989 239882048 -866225153 -452041640 133120494 -434341753 -789151665 -28901271 -9863858 -499...
output:
-712284593628
result:
ok 1 number(s): "-712284593628"
Test #36:
score: 0
Accepted
time: 5ms
memory: 13408kb
input:
16 411834594 999941143 999930015 999893499 999934466 999894663 999915669 999936077 999934469 999868882 999919410 999961688 999934470 999883641 999850571 999914378 999950849 999878781 999950850 999905628 999950851 999956969 999950852 999874731 999950853 999892826 999950854 999908020 999950855 9999386...
output:
65529987471191
result:
ok 1 number(s): "65529987471191"
Test #37:
score: 0
Accepted
time: 22ms
memory: 15096kb
input:
17 -687419779 604581475 570934026 -737268297 -730125564 -509601389 -200842742 -937470803 -21031005 -851317361 733280942 -17360491 880209887 155375485 -189285746 -116080863 -169576817 -592984143 -460058089 620543663 -53790534 -680263820 536082015 -731540485 520342179 395552790 868441050 261797620 529...
output:
-849782635351
result:
ok 1 number(s): "-849782635351"
Test #38:
score: 0
Accepted
time: 27ms
memory: 15016kb
input:
17 607413967 999868961 999838741 999868962 999818035 999841505 999852162 999866380 999809629 999813982 999793390 999793568 999782905 999872222 999837299 999775066 999868945 999868963 999868946 999868964 999791002 999830694 999802334 999853199 999832768 999859380 999781633 999849161 999862686 9998336...
output:
131056174205913
result:
ok 1 number(s): "131056174205913"
Test #39:
score: 0
Accepted
time: 55ms
memory: 18088kb
input:
18 -404347904 -563479136 -998527427 -644975753 -519503281 520509994 -987118409 373989751 864948979 891910424 674853317 72152020 238941656 -579209967 628395071 -682031626 673846274 464213390 -787632170 -11588432 825191381 -447398842 314329661 177963751 539510997 -561094489 874321903 -337311101 348910...
output:
-994595724413
result:
ok 1 number(s): "-994595724413"
Test #40:
score: 0
Accepted
time: 44ms
memory: 18148kb
input:
18 744343156 999737861 999738881 999738882 999672477 999711167 999738883 999738884 999737921 999737922 999738885 999738886 999737923 999737924 999738887 999738888 999770625 999770626 999770627 999770628 999770629 999770630 999770631 999770632 999770633 999770634 999770635 999770636 999770637 9997706...
output:
262096274858750
result:
ok 1 number(s): "262096274858750"
Test #41:
score: 0
Accepted
time: 105ms
memory: 24172kb
input:
19 -608239073 784508875 -799428268 767950097 516977312 905725004 694575710 -214886982 255870827 -252125674 -721471698 544640658 83812112 -114378745 -459599103 -9375995 -585748095 -905464169 524233748 87424576 961602524 -335634745 -123584178 777667070 -221960488 824087480 488503286 -797563743 -478111...
output:
-1459863979608
result:
ok 1 number(s): "-1459863979608"
Test #42:
score: 0
Accepted
time: 88ms
memory: 24232kb
input:
19 838332886 999434326 999465224 999473593 999475969 999475970 999406953 999464807 999556545 999510711 999553451 999596651 999588210 999591209 999556041 999532455 999443925 999492873 999459217 999463788 999456104 999502231 999479574 999456139 999604167 999540130 999544034 999571047 999562495 9995331...
output:
524123729899564
result:
ok 1 number(s): "524123729899564"
Test #43:
score: 0
Accepted
time: 226ms
memory: 36492kb
input:
20 867907551 976422469 7913317 248847503 272135804 -950200258 -148056177 762095305 -656495846 -48907951 906407083 33363245 256786642 -550711091 101180572 -588335674 -565254278 -128725032 -246588704 -12709367 -111881285 477339467 -593842452 896822425 -356809371 -572052480 -422941941 -708178507 -40742...
output:
-1535787975006
result:
ok 1 number(s): "-1535787975006"
Test #44:
score: 0
Accepted
time: 210ms
memory: 36500kb
input:
20 398473348 998953473 998903385 998953474 998992289 998936392 998977119 998917262 998883436 998953475 998865299 998953476 998922224 998998743 998977033 999003721 998876015 998953477 998855837 998953478 998952488 998942141 999004478 999005149 998949196 998953479 998907096 998953480 998917297 9989815...
output:
1047972995249915
result:
ok 1 number(s): "1047972995249915"
Test #45:
score: 0
Accepted
time: 217ms
memory: 36504kb
input:
20 -757839784 -52811849 914326235 -191747093 205534987 178355221 -497598538 529295342 -509224829 -783155066 -218605865 -737032551 727729461 -723169127 643431288 -999013410 599601560 -699059241 -563787304 -679120566 -27734730 667253130 -144727465 560105494 376645447 578451183 54753068 -612863484 -197...
output:
-2294088907883
result:
ok 1 number(s): "-2294088907883"
Test #46:
score: 0
Accepted
time: 222ms
memory: 36440kb
input:
20 691274601 998953473 998959617 998959618 998936623 998883930 998906529 998883424 998951427 998953474 998959619 998959620 998881919 998925508 998895153 998910303 998951441 998953475 998959621 998959622 998944647 998900041 998962546 998964911 998951442 998953476 998959623 998959624 998899994 9988897...
output:
1047973521840325
result:
ok 1 number(s): "1047973521840325"
Test #47:
score: 0
Accepted
time: 214ms
memory: 36524kb
input:
20 -760145335 -793304559 -538682797 -905180057 -747281264 627169612 -608775127 647237178 418598353 206341021 418397641 -843924304 -388582472 203745717 791512014 529370936 324220489 -332431121 694329589 -431341552 -708410231 -196062624 -587642322 95341614 -523621614 729305897 51504604 942067458 -8772...
output:
-1953657882976
result:
ok 1 number(s): "-1953657882976"
Test #48:
score: 0
Accepted
time: 218ms
memory: 36584kb
input:
20 828728171 998952449 998885305 998952450 998934753 998952451 998904235 998952452 999082497 999082498 999082499 999082500 999082501 999082502 999082503 999082504 999395054 999377895 999473172 999441037 999445947 999449881 999427919 999427086 999460098 999439745 999383322 999426333 999446973 9994372...
output:
1047972835569977
result:
ok 1 number(s): "1047972835569977"
Test #49:
score: 0
Accepted
time: 212ms
memory: 36476kb
input:
20 929029637 788536068 634190571 509612242 415309246 -605230018 -886230806 -485106719 22672275 -950444258 912036200 792905858 51070418 713025983 -611826452 -355753596 558065990 126988709 -567804649 831360025 -701360075 958828197 -188535505 -246569728 -818819688 -51152768 -610272943 678915764 9167918...
output:
-1484784471343
result:
ok 1 number(s): "-1484784471343"
Test #50:
score: 0
Accepted
time: 263ms
memory: 36448kb
input:
20 894771195 998951489 998951433 998951490 998945889 998951491 998951434 998951492 999082497 999082498 999082499 999082500 999082501 999082502 999082503 999082504 999475713 999475714 999475715 999475716 999475717 999475718 999475719 999475720 999475721 999475722 999475723 999475724 999475725 9994757...
output:
1047973220218405
result:
ok 1 number(s): "1047973220218405"
Test #51:
score: 0
Accepted
time: 235ms
memory: 36636kb
input:
20 959190217 228659836 -831692096 -848155713 53267539 200228534 77909713 546128754 -986736229 258389836 -262034685 202547148 -599226521 936210345 489577051 2236784 10632339 744278994 482730710 180711965 586944866 342411579 785067317 883902571 813410149 -184990351 216486826 -582993357 -303980955 3614...
output:
-2187105592458
result:
ok 1 number(s): "-2187105592458"
Test #52:
score: 0
Accepted
time: 189ms
memory: 36500kb
input:
20 704106461 998951937 998945028 998951938 998919650 998878713 998859404 998858474 999475713 999475714 999475715 999475716 999475717 999475718 999475719 999475720 998886458 998952668 998939343 998913006 998950374 998931733 998892257 998920987 999475721 999475722 999475723 999475724 999475725 9994757...
output:
1047973334068745
result:
ok 1 number(s): "1047973334068745"
Test #53:
score: 0
Accepted
time: 231ms
memory: 36584kb
input:
20 576585669 -90041654 -835865086 511356115 919260873 -400984793 -739391633 -230702658 624401316 -236173160 897790550 -766110575 422379257 -593471235 801627216 781928372 -935199040 -234425748 -581067301 -285238753 671185844 880908922 514352364 807711220 921291877 -409863717 998134875 538208610 13044...
output:
-2274835857445
result:
ok 1 number(s): "-2274835857445"
Test #54:
score: 0
Accepted
time: 193ms
memory: 36472kb
input:
20 590171693 998953473 998946887 998953474 999082497 999082498 999082499 999082500 998951681 998953475 998865599 998953476 999082501 999082502 999082503 999082504 998967809 998967810 998967811 998967812 999082505 999082506 999082507 999082508 998967813 998967814 998967815 998967816 999082509 9990825...
output:
1047973367185238
result:
ok 1 number(s): "1047973367185238"
Test #55:
score: 0
Accepted
time: 265ms
memory: 36432kb
input:
20 -42408929 -503528086 734273469 -469369279 -760515019 -436574051 -121389394 23538478 -733634933 674587362 -989023786 975938290 675046784 -920466072 712066390 601306417 526198417 -254396252 16584326 -934025768 389302592 491626682 983610579 137257127 -164047224 439877661 354926815 -437412351 -187434...
output:
-1782177360897
result:
ok 1 number(s): "-1782177360897"
Test #56:
score: 0
Accepted
time: 221ms
memory: 36536kb
input:
20 874155588 998952449 998912011 998952450 998984193 998984194 998984195 998984196 998883049 998952451 998943643 998952452 998984197 998984198 998984199 998984200 998964301 998942816 998988574 998984428 998971322 999006882 998999237 998983141 998936901 999016737 999006860 998964417 998952507 9989187...
output:
1047973690113877
result:
ok 1 number(s): "1047973690113877"
Test #57:
score: 0
Accepted
time: 224ms
memory: 36436kb
input:
20 -619684391 910700849 -509174952 -562406143 463108542 -699351559 -581958750 670379495 -314150377 362300097 29180706 -85223104 731953533 -686787776 -384710170 385703354 678181877 693934027 -659644695 415729900 83350352 130339335 -37896962 872397943 131140253 -403900211 226317440 -551281798 -9947099...
output:
-1371453709223
result:
ok 1 number(s): "-1371453709223"
Test #58:
score: 0
Accepted
time: 203ms
memory: 36512kb
input:
20 28529049 998951489 998938591 998951490 998951681 998951682 998951683 998951684 999213569 999213570 999213571 999213572 999213573 999213574 999213575 999213576 999475713 999475714 999475715 999475716 999475717 999475718 999475719 999475720 999475721 999475722 999475723 999475724 999475725 99947572...
output:
1047972859855392
result:
ok 1 number(s): "1047972859855392"
Test #59:
score: 0
Accepted
time: 230ms
memory: 36524kb
input:
20 520018064 399922665 892956470 946674256 -32541401 668377850 659623336 438328710 56438789 299192144 -330142377 27075360 884221556 -694590804 923249330 -997360002 -326136270 -351691359 392478483 860062069 560250875 755499645 154674397 -996646331 878185326 591810096 958863904 -916846360 -284710927 5...
output:
-1472086979069
result:
ok 1 number(s): "-1472086979069"
Test #60:
score: 0
Accepted
time: 219ms
memory: 36584kb
input:
20 622742831 999213569 999381215 999405896 998959617 999213570 999424302 999451513 999082497 999213571 999408134 999442495 999082498 999213572 999454764 999376843 998951426 999213573 999386822 999435280 998959618 999213574 999427616 999381609 999082499 999213575 999412701 999471472 999082500 9992135...
output:
1047973194019085
result:
ok 1 number(s): "1047973194019085"
Test #61:
score: 0
Accepted
time: 226ms
memory: 36448kb
input:
20 -783983199 -425597768 282400076 -171380684 182346451 -329136034 300760932 -64547511 -738400797 -48720882 -809051807 -151057624 -373203086 609574654 -739309919 -65839474 -750741672 -42140994 194574849 -924941399 -299543126 774846698 -805258103 -635871569 279039240 -857468159 -412713612 -680214966 ...
output:
-2331620632623
result:
ok 1 number(s): "-2331620632623"
Test #62:
score: 0
Accepted
time: 221ms
memory: 36504kb
input:
20 952406717 998948327 998951681 998888218 998935976 998889782 998889288 998955617 998959617 998933806 998959618 998898600 998959619 998893670 998959620 998962595 998951937 998924477 998951938 998925055 998906511 998976788 998920210 998888591 998959621 998954558 998959622 998942590 998959623 9988897...
output:
1047973647948775
result:
ok 1 number(s): "1047973647948775"
Test #63:
score: 0
Accepted
time: 239ms
memory: 36508kb
input:
20 247549932 254525825 -695070926 210457544 -57384156 -904653373 -951651395 -491607892 -719541979 -192715602 -169450297 893867961 534055803 925301813 514946598 376588793 261005035 -858100693 -756990343 -93579597 -401833538 -591191736 -111384777 649371573 834872944 626541252 71607472 248368020 771253...
output:
-2209908777008
result:
ok 1 number(s): "-2209908777008"
Test #64:
score: 0
Accepted
time: 198ms
memory: 36508kb
input:
20 472514893 998967809 999016961 999016962 998942561 998913032 999016963 999016964 998873301 998967810 999016965 999016966 998950203 998915287 999016967 999016968 999475713 999475714 999475715 999475716 999475717 999475718 999475719 999475720 999475721 999475722 999475723 999475724 999475725 9994757...
output:
1047972932927719
result:
ok 1 number(s): "1047972932927719"
Test #65:
score: 0
Accepted
time: 268ms
memory: 36444kb
input:
20 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 ...
output:
1048576000000000
result:
ok 1 number(s): "1048576000000000"
Test #66:
score: 0
Accepted
time: 269ms
memory: 36632kb
input:
20 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 -999999999 ...
output:
-1048576000000000
result:
ok 1 number(s): "-1048576000000000"
Test #67:
score: 0
Accepted
time: 0ms
memory: 19252kb
input:
0 507958918 231426356
output:
231426356
result:
ok 1 number(s): "231426356"