QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#278651 | #5657. Hungry Cow | nullptr_qwq | 9.090909 | 930ms | 154556kb | C++20 | 3.2kb | 2023-12-07 18:59:40 | 2023-12-07 18:59:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 4.54545
Accepted
time: 1ms
memory: 3872kb
input:
3 4 3 1 5 1 2
output:
15 36 18
result:
ok 3 number(s): "15 36 18"
Test #2:
score: 4.54545
Accepted
time: 0ms
memory: 3792kb
input:
9 1 89 30 7 101 26 1 24 5 1 60 4 5 10 101 0 1 200
output:
4005 4656 7607 3482 3507 3753 4058 1107 24531
result:
ok 9 numbers
Test #3:
score: 0
Wrong Answer
time: 15ms
memory: 10472kb
input:
5000 1 255364995 414918035 212844 1 112266691 321122438 191414 1 277615842 848755093 61676 1 432591689 892259443 53755 1 263753018 173404455 173565 1 178341924 878941367 221276 1 65332960 439468128 240741 1 812238377 191076090 108732 1 180383041 927440330 112995 1 595696140 579818784 85614 1 5057816...
output:
235118030 699918971 430865692 80346613 848027326 568710394 340195238 190991083 826211664 180951671 569935857 679922008 650993948 624850177 428416731 646484944 727440627 230673871 429374754 412788182 52678570 76241310 668853821 636690710 209140532 869111458 915919167 837020724 313374684 328391122 903...
result:
wrong answer 2501st numbers differ - expected: '948499983', found: '509803144'
Test #4:
score: 0
Wrong Answer
time: 396ms
memory: 154556kb
input:
100000 1 500000000 1000000001 500000000 2000000001 500000000 3000000001 500000000 4000000001 500000000 5000000001 500000000 6000000001 500000000 7000000001 500000000 8000000001 500000000 9000000001 500000000 10000000001 500000000 11000000001 500000000 12000000001 500000000 13000000001 500000000 1400...
output:
375000007 250000035 625000091 500000168 875000273 750000399 125000546 721 375000924 250001148 625001400 500001673 875001974 750002296 125002639 3010 83831405 958831832 333832273 917660745 292661235 167661753 542662299 417662866 792663461 376492073 751492717 335321378 419150067 294150781 377979519 96...
result:
wrong answer 17th numbers differ - expected: '375003409', found: '83831405'
Test #5:
score: 0
Wrong Answer
time: 654ms
memory: 78960kb
input:
100000 49998999950002 500000000 49997999950003 500000000 49996999950004 500000000 49995999950005 500000000 49994999950006 500000000 49993999950007 500000000 49992999950008 500000000 49991999950009 500000000 49990999950010 500000000 49989999950011 500000000 49988999950012 500000000 49987999950013 500...
output:
-535037336 -361246697 103715918 277506501 451297056 625087583 798878082 555012554 728802997 320249404 494039791 376658146 259276473 141894772 315685047 489475294 372093509 545883700 719673863 893463998 776082101 241044177 414834228 879796255 344758247 518548214 692338153 866128064 457573939 63136379...
result:
wrong answer 1st numbers differ - expected: '376399979', found: '-535037336'
Test #6:
score: 0
Wrong Answer
time: 869ms
memory: 111632kb
input:
100000 92303348842417 121458 92270522994821 852054850 93765096269940 752161890 97779083359973 984327853 90030769679569 439157849 99462493683485 45660 95578441605501 614317411 92236129196525 474149928 96065411631989 429943696 90394247621798 382840249 89263934750729 791122796 93577089467158 99679481 9...
output:
601385635 488547421 388782657 787222324 463578120 303696173 523275303 661730547 387711042 409804819 -18049342 -562539363 -219678202 -64739881 21304339 -40420342 466730817 332579503 497842674 617281187 100885594 -447706214 -285566322 -436397334 159949355 717679559 193574607 221704636 -341966286 -1479...
result:
wrong answer 2nd numbers differ - expected: '274004134', found: '488547421'
Test #7:
score: 0
Wrong Answer
time: 861ms
memory: 109376kb
input:
100000 98001410246890 641673458 94816407430628 495030536 95979591652947 43208 95979591652947 183686 97163521776290 904784415 91640049592559 875129980 95914835187460 844802426 94846379383324 974270031 99639652388956 311664277 99298294827771 913614463 99476866913169 221766107 97248342663994 669489020 ...
output:
341730901 458128678 502503506 280782613 812312061 425689084 572664512 563281767 507148336 294315213 923017300 568161668 406199882 82454362 937683002 827819158 452493440 740861279 776240013 110533267 895217085 632778969 649893670 208426270 284410614 368121056 -514433982 -37538600 -438486574 217885548...
result:
wrong answer 1st numbers differ - expected: '805408268', found: '341730901'
Test #8:
score: 0
Wrong Answer
time: 895ms
memory: 109880kb
input:
100000 97338601145206 191999210 97657969728741 875988993 92559675348135 8552565 99354409480201 960853995 93648768326445 343671323 97400841247229 104463842 98844341051398 508718383 96144328794112 187050711 98030257583732 365513 92378049740181 852725611 98301676983212 360931360 99458914124366 80234576...
output:
-547952137 -446392375 -679212712 -436258006 -842934983 -237633640 -339953767 -148516124 -839037284 -799786854 -794161304 -256310783 -776264534 -570022563 -578615280 -21587051 -14149760 -483589795 -75088758 -786988632 -95203242 -589797409 -322575627 -153767967 -357311587 -966369783 -541201597 -275083...
result:
wrong answer 1st numbers differ - expected: '201835835', found: '-547952137'
Test #9:
score: 0
Wrong Answer
time: 930ms
memory: 107400kb
input:
100000 96119987448606 658315028 98644701118435 280992389 98180676447908 56168 99822794299596 237183170 94655838918825 563695131 95744558879343 686204820 93739311062176 263266841 97630990881452 96901680 98683433984282 380708175 98141920320037 147598812 98095513966598 814629225 97882900659205 55097258...
output:
-282128498 -433500246 267704947 -26886913 -327764196 229252083 893715337 450044505 662150294 603259941 410214073 737873316 80826380 -68481161 -431874688 -117507777 -115194569 375387298 109135435 519775404 490227118 253162366 704249840 502434382 767003910 953389531 735061898 127395503 965529210 81601...
result:
wrong answer 1st numbers differ - expected: '284288958', found: '-282128498'
Test #10:
score: 0
Wrong Answer
time: 886ms
memory: 106700kb
input:
100000 98169641631056 170946511 99452522210742 393032132 98797460964704 393706377 98747209012224 529219651 99152468691953 362194103 99410753036475 215295 97096873124809 1315725 96106202009957 124516158 95176405230280 853965254 99359463136784 622839995 96635771520630 550456203 96368792029394 93630831...
output:
506979544 491880385 895830397 617853139 994699819 757636165 281234073 488412798 268055607 4137891 564261825 174878503 575570168 456729367 157035430 879356520 324961151 741044856 418075552 679196017 833504361 746399951 350132722 965239154 780031995 992756333 986639610 87711878 123587022 268140217 450...
result:
wrong answer 1st numbers differ - expected: '692991104', found: '506979544'
Test #11:
score: 0
Wrong Answer
time: 687ms
memory: 90020kb
input:
100000 97499080763005 475255826 97499083333242 9347 97499080763005 395470349 97499924236501 4654 97499080763005 148122052 97499213182916 2365 97499080763005 544025506 97499777050346 9912 97499080763005 41736833 97499401163067 12607 97499080763005 127843558 97499125181305 7144 97499080763005 13152858...
output:
263678842 36072322 -385715657 -154564980 437797549 161758714 -206991002 200232985 152868390 90891386 -507248223 -296584778 -74699247 141983550 134007310 387050417 -168558181 123189520 -220988144 -438880792 -171878463 25811363 -452928597 -59676896 -936898054 -355801398 26703694 -510405378 278957348 1...
result:
wrong answer 1st numbers differ - expected: '655956691', found: '263678842'
Test #12:
score: 0
Wrong Answer
time: 690ms
memory: 85008kb
input:
100000 98999026537234 929244389 98999182418499 5182 98999026537234 774643967 98999646433835 17857 98999026537234 760743518 98999980664456 7597 98999026537234 573421161 98999090975969 6621 98999026537234 95191521 98999947586610 17798 98999026537234 953104244 98999116462517 15643 98999026537234 100617...
output:
-711586594 -720088610 -490813942 78978526 -682704082 189301627 259719570 52143968 531504928 502357826 74188453 629961507 141366234 90596248 697665193 654542471 83847255 101542661 -40052206 -13990060 418724586 739377724 417405111 987170313 700116376 683774949 864070126 498353720 369027267 599576178 5...
result:
wrong answer 1st numbers differ - expected: '526240962', found: '-711586594'
Test #13:
score: 0
Wrong Answer
time: 667ms
memory: 84056kb
input:
100000 99499024212061 630391525 99499061152079 3864 99499024212061 16505706 99499878275777 4812 99499024212061 776185964 99499757280269 12059 99499024212061 356565635 99499399237611 8902 99499024212061 972528120 99499256994518 9171 99499024212061 419476867 99499909552451 17146 99499024212061 6767939...
output:
-28436339 -323983360 275588491 198648804 833127011 553133578 510147724 362773675 359057271 389505936 412683923 803814795 582365824 837172011 43196582 906563500 550326844 536970069 952230849 607203515 935406657 887050654 320538684 401009224 257209 758226420 395334495 454097455 562406864 590928711 752...
result:
wrong answer 1st numbers differ - expected: '358833000', found: '-28436339'
Test #14:
score: 0
Wrong Answer
time: 776ms
memory: 78532kb
input:
99999 10490328589436 1000000000 13762508396295 1000000000 40632115714511 1000000000 32834989282081 1000000000 29091918306598 1000000000 24352818172350 1000000000 23447797352860 1000000000 38073075086135 1000000000 14288530509239 1000000000 36463049009868 1000000000 10562334120356 1000000000 34490016...
output:
-197490222 -310700818 142135974 519959374 610260539 354850232 197644198 -119429231 -110692765 127445127 270693978 -80517617 -210026226 241489007 -609125926 -653174440 -664719732 -489184690 -393132040 -514404211 -277963521 430716025 -92244267 -688876825 -244087080 -151456154 -222849766 -988176177 -74...
result:
wrong answer 1st numbers differ - expected: '700388007', found: '-197490222'
Test #15:
score: 0
Wrong Answer
time: 805ms
memory: 78816kb
input:
99999 61585049539216 1000000000 58981995705940 1000000000 44247484521936 1000000000 70916218483207 1000000000 47696673638497 1000000000 60781033156530 1000000000 55859922511212 1000000000 59143999312357 1000000000 57175954090596 1000000000 71328224891428 1000000000 46047599292678 1000000000 47510666...
output:
247818098 691674131 714783331 532040727 42002271 445251944 235110746 121461757 635077085 13585029 454846861 421199931 633644513 867153079 591172885 139768751 771811145 163351858 84338731 423551956 753633038 536615091 98872712 304196264 510566715 680880605 661383544 202584022 153277316 717891828 7849...
result:
wrong answer 1st numbers differ - expected: '656243188', found: '247818098'
Test #16:
score: 0
Wrong Answer
time: 801ms
memory: 78436kb
input:
99999 21219982576425 1000000000 42260400232639 1000000000 26412110792985 1000000000 11035481121988 1000000000 13219690258669 1000000000 19550933913223 1000000000 32679237390903 1000000000 15679803374289 1000000000 23896051833122 1000000000 20099950455987 1000000000 14778766729432 1000000000 21547991...
output:
-407911675 -319378335 -136732620 127755892 629458198 681895508 272873550 -51209470 325160538 665021292 423436315 52981627 44314606 -210477427 -150341725 31312284 249311162 222411346 962173203 724070419 481766975 9983565 313036299 519151806 355023394 67928277 978395186 256815302 552903366 582642670 4...
result:
wrong answer 1st numbers differ - expected: '123004833', found: '-407911675'
Test #17:
score: 0
Wrong Answer
time: 805ms
memory: 78784kb
input:
99999 28503598869279 1000000000 32397709666940 1000000000 25833502058723 1000000000 38020841213328 1000000000 54560138759501 1000000000 42230929758874 1000000000 28972613620824 1000000000 28498598787317 1000000000 54070131397843 1000000000 22084267818956 1000000000 37776835952805 1000000000 44465973...
output:
-329830309 -727294258 -648528936 -872635265 41018113 131694362 848854127 519597307 -374297630 -149032852 234144579 -442364285 -193191330 -794560074 -792301033 -604791414 -226827765 -387730336 238224345 155302871 -35504694 218078330 -66945442 -15915809 -520502222 -101469257 -472712575 -81304031 -2209...
result:
wrong answer 1st numbers differ - expected: '809311757', found: '-329830309'
Test #18:
score: 0
Wrong Answer
time: 803ms
memory: 78268kb
input:
99999 18175781548542 1000000000 40883228277118 1000000000 33828113807745 1000000000 17817771477758 1000000000 22749897023579 1000000000 18015777423352 1000000000 28920025506062 1000000000 18799798298070 1000000000 27979006765970 1000000000 17103749421004 1000000000 24329932307643 1000000000 29798042...
output:
-622933012 -528494218 -468878017 -665625004 -391488116 -617972606 -36980073 -867997341 -456326075 -243154625 -6341099 -911193601 -25408563 600799382 566064994 -115882564 -551093539 -31285205 -325534465 80132953 169100952 562410624 517400526 379179486 115887882 593917798 303100477 315791420 46084323 ...
result:
wrong answer 1st numbers differ - expected: '530050851', found: '-622933012'
Test #19:
score: 0
Wrong Answer
time: 813ms
memory: 78292kb
input:
99999 13631696063382 1000000000 19095823575649 1000000000 18048800926387 1000000000 17060779354093 1000000000 15768748767399 1000000000 30886037572930 1000000000 26814970558482 1000000000 8165534157289 1000000000 27914989206121 1000000000 34170089895536 1000000000 27764986366439 1000000000 145187181...
output:
-350478589 -967100468 -231620584 -772122858 -334501302 -275172928 368737967 107503353 389122436 133948784 94190320 345647775 954887116 730268771 921979247 373586453 456901606 438921557 -224329208 -12675138 254506250 243112091 826638213 926916348 451987053 480581280 169962090 87636840 88804752 588411...
result:
wrong answer 1st numbers differ - expected: '128224308', found: '-350478589'
Test #20:
score: 0
Wrong Answer
time: 796ms
memory: 79192kb
input:
99999 71091006018203 1000000000 42267334298998 1000000000 53421686894439 1000000000 52992676205010 1000000000 49055576058012 1000000000 70721000416119 1000000000 43151374327143 1000000000 70716000332404 1000000000 51528640431406 1000000000 65945925001029 1000000000 39524135856472 1000000000 66414932...
output:
63424955 157634112 757271377 407969711 798776954 -34065565 118649709 159908962 483783097 588053256 131654261 624200576 221759210 -401970796 -273875983 -26307024 -703366206 -820718322 -1595458 -144571533 -435522986 24502141 147586259 49363866 -500747631 -461724855 3319899 346501129 140748324 33394185...
result:
wrong answer 1st numbers differ - expected: '961356073', found: '63424955'
Test #21:
score: 0
Wrong Answer
time: 826ms
memory: 79140kb
input:
99999 43981987091230 1000000000 41793950053258 1000000000 23385527966154 1000000000 32049759202175 1000000000 48927065970165 1000000000 26694629471843 1000000000 27661655640242 1000000000 37241867113918 1000000000 49110069037684 1000000000 20323405372655 1000000000 43304975621086 1000000000 48021052...
output:
-342072815 -126050569 -485832694 -456696262 -836528361 -602124871 -123912994 -362085460 -586821263 -584182293 -8097120 -340591272 -16928774 -439254791 -516392102 -732294267 -500620852 -178431177 -38659041 -967692301 -710542083 -376394933 -411779786 -56803522 596288452 480310540 439675651 169982720 -...
result:
wrong answer 1st numbers differ - expected: '92516536', found: '-342072815'
Test #22:
score: 0
Wrong Answer
time: 800ms
memory: 77980kb
input:
99999 31159466866911 1000000000 28413414847308 1000000000 25948364344910 1000000000 31236468095715 1000000000 22036273821032 1000000000 24056321657736 1000000000 36031551606814 1000000000 37935581367999 1000000000 40624624246259 1000000000 18857191994835 1000000000 22179277697755 1000000000 29154428...
output:
27951844 -102009066 -844477456 -863327481 -641875573 -521850041 174344183 98526996 991641188 75373361 319771182 88377462 -718648511 -370034105 -560121894 -440351613 -802541232 -708287990 -611712012 -501400682 -388720120 210007909 -622781655 -392902539 -440051056 -847706167 -789454111 -811670382 -510...
result:
wrong answer 1st numbers differ - expected: '733458470', found: '27951844'