CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:qanpi
Submission time:2023-11-12 14:52:06 +0200
Language:Python3 (CPython3)
Status:READY
Result:59
Feedback
groupverdictscore
#1ACCEPTED58.5
Test results
testverdicttimescore
#1ACCEPTED0.14 s7.63details
#2ACCEPTED0.14 s8details
#3ACCEPTED0.14 s7.75details
#4ACCEPTED0.14 s7.13details
#5ACCEPTED0.14 s7.63details
#6ACCEPTED0.14 s6.88details
#7ACCEPTED0.14 s6.38details
#8ACCEPTED0.14 s7.13details

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.2322753369808197, -0.2591231167316437, 0.318387895822525, 0.13074027001857758, 0.06393839418888092, 0.12453645467758179, -0.36216193437576294, -0.26700079441070557, 0.16197602450847626, 0.08937987685203552, -0.16060613095760345, 0.30522024631500244, -0.15814967453479767, 0.2897052466869354, -0.07562892884016037, -0.19666175544261932, 0.26421257853507996, -0.06084761023521423, -0.27211233973503113, -0.11400091648101807, -0.20415866374969482, 0.07119189202785492, 0.07358837872743607, -0.3441484272480011], [0.19595076143741608, -0.07910510152578354, 0.04302292689681053, -0.36989128589630127, -0.001947183394804597, -0.15743359923362732, -0.2107178121805191, -0.2821963131427765, 0.3011806309223175, 0.03308608755469322, 0.0493757426738739, -0.09055589139461517, 0.1516568660736084, -0.1470339298248291, -0.13594968616962433, 0.2646319270133972, 0.22240285575389862, 0.3044321835041046, 0.24645234644412994, -0.15921933948993683, 0.1020280048251152, -0.1545751839876175, -0.24185998737812042, -0.0016013184795156121], [0.006124709267169237, -0.2644771933555603, 0.14693604409694672, -0.22296813130378723, 0.09530094265937805, 0.2898816764354706, 0.15569017827510834, -0.04794583097100258, 0.22652646899223328, 0.13126225769519806, 0.12623664736747742, -0.052545949816703796, 0.2489222288131714, -0.15302765369415283, -0.004149317741394043, 0.11024855822324753, -0.23815792798995972, 0.10681312531232834, -0.04690452665090561, 0.18846696615219116, -0.13042646646499634, 0.012345683760941029, 0.12276352941989899, -0.30934521555900574], [0.26693037152290344, -0.1911812722682953, -0.10693500936031342, 0.21635818481445312, -0.2612822949886322, -0.2800464630126953, 0.08264810591936111, 0.16785871982574463, 0.19790953397750854, 0.09542963653802872, -0.06896143406629562, -0.3502419590950012, -0.03327329829335213, 0.06520019471645355, -0.002566517563536763, 0.3116692304611206, 0.13330967724323273, 0.2634753882884979, -0.1059042438864708, 0.3182053565979004, 0.01193702407181263, 0.01162225753068924, 0.04678571596741676, -0.8781628608703613], [0.03666003793478012, -0.15131044387817383, 0.13520000874996185, -0.0712801143527031, 0.19163483381271362, 0.023192064836621284, 0.29182788729667664, 0.2618144750595093, -0.17923757433891296, -0.061362411826848984, 0.09895230084657669, -0.35555294156074524, 0.10916707664728165, -0.2598659098148346, 0.09008526802062988, -0.03570619970560074, 0.2618873715400696, 0.0031937314197421074, 0.30479297041893005, 0.15573415160179138, 0.14289890229701996, -0.22494405508041382, -0.23535604774951935, 0.44675445556640625], [0.21569110453128815, -0.2468847930431366, 0.16503310203552246, 0.01550182607024908, -0.07903456687927246, -0.1339026391506195, -0.05732136219739914, 0.018834423273801804, 0.13370467722415924, 0.2567886710166931, -0.04610695317387581, -0.09042646735906601, 0.04599771276116371, -0.14439839124679565, -0.03201669454574585, 0.09466245025396347, -0.10686634480953217, -0.04326549544930458, 0.08540554344654083, 0.11802984774112701, -0.00988467875868082, -0.0819104015827179, -0.16949987411499023, 0.023121405392885208], [0.013523821718990803, -0.06729897111654282, -0.16814756393432617, 0.19946078956127167, 0.1753108948469162, -0.11410561949014664, 0.05708466097712517, 0.011351202614605427, -0.23590192198753357, -0.1556156873703003, -0.23596890270709991, 0.26746946573257446, 0.011838332749903202, 0.13124579191207886, 0.1305154263973236, 0.08987633883953094, 0.22897738218307495, -0.352200448513031, -0.1911545991897583, -0.11728695034980774, -0.10791687667369843, 0.21735051274299622, 0.02188379317522049, -0.6373493075370789], [-0.2725013196468353, 0.023919276893138885, -0.13682618737220764, -0.1769358366727829, 0.1544741690158844, 0.2694071829319, 0.21647922694683075, 0.10798203945159912, 0.18461285531520844, 0.058817896991968155, 0.003671377431601286, 0.11617079377174377, 0.21731537580490112, 0.09308516979217529, 0.0048212348483502865, 0.0978483110666275, -0.03649834915995598, 0.04404101520776749, 0.3024809956550598, -0.24194088578224182, -0.10064162313938141, 0.042729221284389496, -0.4146445095539093, -0.08952324837446213], [0.1671370267868042, 0.13829338550567627, 0.1914386749267578, -0.1757122278213501, -0.014922795817255974, -0.3726845681667328, -0.0933481827378273, 0.041759710758924484, -0.05293691158294678, -0.072328120470047, -0.07990822196006775, -0.01891581527888775, -0.3546951711177826, 0.10755693912506104, 0.24248723685741425, 0.2623003125190735, -0.00589450728148222, 0.24055330455303192, 0.24146631360054016, -0.13995392620563507, 0.37076783180236816, -0.1566932648420334, -0.09061581641435623, 0.15311861038208008], [0.22077541053295135, -0.08466586470603943, -0.04912322387099266, -0.01006199512630701, -0.07220975309610367, -0.16282963752746582, -0.01602886989712715, 0.12040990591049194, 0.048405952751636505, -0.03886997327208519, -0.09893391281366348, -0.11859188228845596, 0.11429852247238159, -0.012777291238307953, 0.08944205194711685, 0.06542717665433884, -0.0535607784986496, -0.2705954909324646, 0.06067604944109917, -0.3450762629508972, 0.18213756382465363, -0.09792940318584442, 0.2793753445148468, 0.09685701131820679], [-0.066243976354599, -0.2522589862346649, -0.1269381046295166, -0.12916822731494904, 0.43668895959854126, 0.2950389087200165, -0.1933567076921463, -0.08549244701862335, 0.15612897276878357, -0.21974429488182068, 0.11357880383729935, 0.22345070540905, -0.2308260053396225, 0.007022467441856861, -0.059784743934869766, -0.18320439755916595, -0.23248369991779327, 0.10022169351577759, 0.21999937295913696, -0.05591697245836258, -0.06805090606212616, 0.020881474018096924, -0.14503276348114014, 0.4096289873123169], [-0.15768037736415863, 0.10988549143075943, -0.1726132035255432, 0.3387405276298523, -0.09616215527057648, -0.009518326260149479, 0.08912651985883713, -0.019987132400274277, 0.15924017131328583, 0.22307588160037994, -0.0692826434969902, -0.17822913825511932, 0.11177776008844376, -0.02412121370434761, -0.041111867874860764, -0.06350001692771912, -0.030357958748936653, 0.3561890125274658, -0.16578054428100586, -0.09651806950569153, 0.2105015516281128, -0.05990235134959221, 0.092054583132267, 0.7349912524223328], [-0.04770628735423088, 0.267823189496994, -0.09124327450990677, -0.02447475679218769, -0.21116532385349274, -0.010707958601415157, 0.08255986124277115, -0.12225226312875748, -0.12682273983955383, 0.3029560148715973, -0.04041007161140442, 0.12608689069747925, -0.10108891129493713, 0.37543487548828125, -0.13658444583415985, 0.4223671555519104, 0.21776139736175537, -0.29151979088783264, -0.41592881083488464, -0.34739604592323303, 0.23079745471477509, 0.29237309098243713, 0.05543624237179756, -0.3556029498577118], [-0.04550783336162567, 0.09259365499019623, 0.05743107199668884, -0.09751664847135544, 0.24756839871406555, 0.008994508534669876, -0.03675101324915886, 0.17099735140800476, 0.27358466386795044, -0.20054274797439575, -0.0686911940574646, 0.2205260843038559, -0.18909132480621338, 0.16579566895961761, -0.026407893747091293, 0.3421802520751953, -0.15143036842346191, 0.28763577342033386, -0.00955644715577364, 0.18275713920593262, -0.04417124763131142, 0.21411682665348053, 0.2334088534116745, 0.6735802888870239], [0.20578625798225403, 0.031334444880485535, 0.33884766697883606, 0.09582825005054474, 0.2721571922302246, -0.1628284752368927, -0.2238306999206543, -0.1455845981836319, 0.21266961097717285, -0.40121421217918396, -0.16826306283473969, 0.28339263796806335, 0.19535206258296967, 0.0763217881321907, -0.06689617782831192, -0.037911441177129745, -0.22681854665279388, -0.2604307234287262, -0.14408263564109802, 0.1572331190109253, -0.06836380809545517, 0.5303457975387573, -0.03268078714609146, -0.3434374928474426], [-0.18902064859867096, 0.262788861989975, -0.19145941734313965, -0.061791740357875824, 0.04705028980970383, -0.32642510533332825, 0.04072055593132973, 0.03854943811893463, -0.10612530261278152, 0.33303478360176086, -0.046036191284656525, -0.005924793425947428, -0.14611274003982544, -0.2743959128856659, 0.1394454836845398, 0.013387776911258698, 0.1439039260149002, 0.48019346594810486, 0.5435615181922913, -0.012177051045000553, -0.07727270573377609, -0.07038024067878723, -0.20849604904651642, -0.5142645835876465], [0.035247426480054855, -0.2342739850282669, 0.30842068791389465, -0.02135753445327282, -0.17555928230285645, -0.09588019549846649, 0.07600107789039612, 0.059792786836624146, -0.029889574274420738, 0.16353270411491394, -0.18167659640312195, -0.12838321924209595, 0.28963717818260193, -0.013914280571043491, -0.10811462253332138, 0.11863507330417633, -0.1412912756204605, -0.21735915541648865, -0.09231790155172348, 0.009278706274926662, -0.309514582157135, -0.007080790586769581, 0.003486848436295986, 0.8126761317253113], [0.04769571125507355, -0.15249288082122803, 0.09597685933113098, 0.10529398918151855, 0.14760354161262512, 0.17671994864940643, -0.18259650468826294, -0.2943404018878937, -0.09837330877780914, 0.20013459026813507, 0.1874045431613922, -0.14458295702934265, 0.3908941149711609, -0.16941876709461212, -0.20088410377502441, 0.27652373909950256, -0.010418583638966084, 0.17275048792362213, -0.24135592579841614, -0.050944335758686066, 0.07247541099786758, 0.2788897156715393, 0.012497443705797195, -0.5951665043830872], [0.036656640470027924, -0.10714324563741684, -0.10079008340835571, -0.27454859018325806, 0.28035613894462585, -0.12836259603500366, 0.1477005034685135, -0.09137572348117828, 0.09108316898345947, 0.14131475985050201, -0.24724987149238586, -0.16317132115364075, -0.08506391942501068, 0.21954458951950073, 0.16167894005775452, -0.16430546343326569, -0.2943446636199951, -0.1326189935207367, 0.15070278942584991, 0.18882925808429718, -0.25655704736709595, 0.2642034888267517, -0.039649516344070435, -0.9358352422714233], [0.06404680013656616, 0.1415039449930191, 0.11241672188043594, -0.16998855769634247, 0.2413933426141739, -0.11170665919780731, -0.3218621611595154, 0.20930175483226776, 0.22257158160209656, -0.19977587461471558, 0.06029322370886803, 0.01601419225335121, -0.17941643297672272, 0.1729973405599594, -0.12225781381130219, -0.20257507264614105, 0.22336120903491974, -0.12333334982395172, -0.23536323010921478, -0.06408078968524933, 0.054658014327287674, -0.03127967193722725, -0.478950560092926, -0.8864738345146179], [0.2385357767343521, -0.054336197674274445, -0.11114031076431274, 0.049264173954725266, 0.17086464166641235, 0.1328011006116867, -0.4766848683357239, -0.15047812461853027, -0.1910582333803177, -0.31822869181632996, 0.22496914863586426, -0.026329265907406807, 0.038645073771476746, -0.1050136610865593, 0.1449248045682907, 0.011008256115019321, -0.00016805391351226717, -0.20320850610733032, 0.12558239698410034, 0.20264096558094025, 0.21757151186466217, 0.2675633728504181, 0.14392390847206116, 0.46048709750175476], [0.10096651315689087, 0.10153713077306747, 0.2493860274553299, -0.04184785112738609, 0.436271607875824, 0.18453289568424225, -0.11673269420862198, -0.0789521336555481, -0.01527345459908247, -0.2684926688671112, -0.1435905545949936, -0.12824873626232147, -0.041519295424222946, -0.013927478343248367, -0.18266578018665314, -0.1998777836561203, -0.4043414294719696, 0.2494347095489502, -0.24987590312957764, 0.025270413607358932, 0.054125234484672546, 0.18365983664989471, 0.03630790114402771, 0.26845309138298035], [0.17306962609291077, 0.09065093100070953, -0.032520174980163574, 0.11603055149316788, -0.37898045778274536, -0.18245184421539307, -0.09759429842233658, 0.2728217840194702, 0.3293205797672272, 0.022380217909812927, -0.21466033160686493, -0.06579547375440598, -0.014036164619028568, 0.010352875106036663, 0.19869095087051392, 0.22328872978687286, 0.2573773264884949, -0.1050458699464798, -0.508182942867279, -0.09733261913061142, 0.1760951280593872, -0.1934419721364975, 0.3940068781375885, -0.3371216952800751], [-0.056442007422447205, 0.004679516423493624, 0.02967388927936554, -0.03033425100147724, -0.17959748208522797, 0.16098935902118683, 0.07781552523374557, 0.16450092196464539, 0.20409876108169556, -0.10560198128223419, -0.07760706543922424, 0.2318730354309082, -0.0447266511619091, 0.07587561011314392, -0.19832226634025574, 0.26056399941444397, -0.06489809602499008, 0.024151621386408806, -0.0074064158834517, -0.02233326993882656, -0.2806433141231537, 0.19311043620109558, 0.17004729807376862, 0.21841943264007568]], "biases": [0.6326815485954285, -1.0466417074203491, 0.26608529686927795, 1.0467017889022827, -0.1222904771566391, -0.134468212723732, 0.29650700092315674, 0.030227143317461014, 1.1027404069900513, -0.792251706123352, -0.2615278661251068, -0.4964918792247772, 0.13450726866722107, 0.3808985650539398, 0.7065144181251526, 0.4613300561904907, 0.7948871850967407, 0.6388265490531921, -0.0917360708117485, 0.6544523239135742, 0.8065026998519897, 0.01813533715903759, 0.2556174099445343, -0.08097708225250244]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.09145350009202957, -0.035560812801122665, -0.08593004941940308, -0.157658651471138, 0.03816380724310875, -0.11784971505403519, -0.18670712411403656, 0.018079392611980438, 0.009758776985108852, 0.05960444360971451, 0.04007158800959587, 0.30032825469970703, -0.03864102065563202, 0.09835111349821091, -0.06330371648073196, -0.016105892136693, 0.3477771580219269, -0.18150104582309723, -0.34090521931648254, -0.22990620136260986, 0.24103915691375732, 0.027998818084597588, -0.006892493460327387, 0.2501468360424042], [0.15966060757637024, -0.013616614043712616, -0.07287897169589996, -0.25617125630378723, -0.004658798221498728, -0.10734480619430542, -0.2429005652666092, 0.045427266508340836, -0.02717265672981739, 0.06198997050523758, 0.024213384836912155, 0.24038277566432953, -0.06445298343896866, 0.3208065330982208, -0.10561374574899673, 0.03438592329621315, 0.39791160821914673, -0.17166446149349213, -0.28289154171943665, -0.25466829538345337, 0.14780476689338684, 0.05339820310473442, -0.020729366689920425, -0.17350102961063385], [0.005925552453845739, 0.010836713947355747, -0.056248102337121964, -0.2815347909927368, 0.026066994294524193, -0.13361123204231262, -0.17043815553188324, 0.07833562791347504, 0.026696687564253807, 0.04588336870074272, 0.10701590031385422, 0.21678227186203003, -0.08820542693138123, 0.299252986907959, -0.10159473121166229, 0.016305387020111084, 0.3659515082836151, -0.15436691045761108, -0.42619121074676514, -0.1336308866739273, 0.11060450226068497, 0.07032451778650284, -0.1118316724896431, -0.13681373000144958], [0.10642199963331223, -0.0449846088886261, -0.07972574234008789, -0.27519357204437256, 0.0576210543513298, 0.20966947078704834, 0.030693721026182175, 0.1442427635192871, 0.04597169905900955, -0.0353480726480484, 0.14205309748649597, 0.26476338505744934, -0.1898224949836731, 0.2246951460838318, -0.12083905190229416, -0.06805232167243958, 0.2614881694316864, -0.19252285361289978, -0.2906239330768585, -0.37437403202056885, 0.1203831359744072, 0.08358597010374069, -0.13071757555007935, -0.05231039598584175], [-0.1825665384531021, 0.016308976337313652, 0.009838409721851349, -0.3247329294681549, 0.14936532080173492, 0.15293565392494202, 0.07890629023313522, 0.0994853675365448, 0.02732371725142002, -0.12968693673610687, 0.18286404013633728, 0.04317726939916611, -0.18688829243183136, 0.3079488277435303, -0.18177631497383118, -0.11669027805328369, 0.27790263295173645, -0.03248915076255798, -0.42301493883132935, -0.2186179757118225, 0.10567675530910492, 0.08683239668607712, -0.17320436239242554, -0.07293552160263062], [0.019904574379324913, -0.04015076905488968, 0.03580348566174507, -0.3789474368095398, 0.2757640779018402, 0.0250555407255888, -0.16708454489707947, 0.12931287288665771, 0.08397621661424637, -0.1321398913860321, 0.09844773262739182, 0.2546544671058655, -0.16095785796642303, 0.009087709710001945, -0.182748943567276, -0.17617027461528778, 0.10380592197179794, -0.07647639513015747, -0.13957048952579498, -0.3346382975578308, 0.17575253546237946, 0.025026004761457443, -0.1726219207048416, 0.20685645937919617], [-0.10864486545324326, 0.0020774344448000193, 0.05629253387451172, -0.4386199116706848, 0.22938013076782227, 0.0352487713098526, -0.08650267124176025, 0.08714510500431061, 0.06811629980802536, -0.042415786534547806, 0.028976809233427048, 0.0014125127345323563, -0.13568642735481262, 0.24072572588920593, -0.29377201199531555, -0.19190354645252228, 0.10794531553983688, 0.020426783710718155, -0.23752222955226898, -0.2625167667865753, 0.09684794396162033, 0.0311257466673851, -0.22016634047031403, 0.07158708572387695], [-0.07171721011400223, 0.018283559009432793, 0.05610436946153641, -0.44087666273117065, 0.22578750550746918, -0.17659640312194824, -0.2512817680835724, 0.1498841941356659, 0.1331041008234024, 0.032293397933244705, -0.08720787614583969, 0.09964663535356522, -0.18607577681541443, 0.07724122703075409, -0.21191047132015228, -0.29488158226013184, 0.057717215269804, -0.009553964249789715, -0.0874147042632103, -0.2653713524341583, 0.14029940962791443, -0.0637287124991417, -0.22538761794567108, 0.26865726709365845], [-0.14797042310237885, -0.11123549938201904, 0.20281173288822174, -0.5129371881484985, 0.10270825028419495, 0.11287002265453339, -0.06175771728157997, 0.14514365792274475, 0.21857500076293945, 0.015571930445730686, -0.050496906042099, 0.06868277490139008, -0.19614115357398987, 0.0825703889131546, -0.14579914510250092, -0.24130108952522278, 0.06415631622076035, -0.05476083606481552, -0.13267305493354797, -0.3073257505893707, 0.14161646366119385, -0.12840582430362701, -0.2516113519668579, 0.271907776594162], [-0.07891657948493958, -0.08482993394136429, 0.15901081264019012, -0.53978431224823, -0.07680123299360275, -0.1709076166152954, -0.170998215675354, 0.21943852305412292, 0.16167768836021423, 0.0406523197889328, -0.06136047840118408, 0.04243418946862221, -0.2675168514251709, 0.3516640067100525, -0.1756654530763626, -0.23665639758110046, 0.05805131420493126, -0.04986382648348808, -0.10771733522415161, -0.2649162709712982, 0.07194697856903076, -0.15591800212860107, -0.2178535759449005, -0.1735096126794815], [-0.10552632808685303, -0.17249099910259247, 0.03778790682554245, -0.5942249894142151, -0.013019053265452385, 0.15095855295658112, -0.07353808730840683, 0.28163594007492065, 0.1918039321899414, 0.1023758202791214, -0.00807970017194748, -0.028487946838140488, -0.30788224935531616, 0.2599453926086426, -0.07667194306850433, -0.19509802758693695, 0.017763806506991386, -0.09644684940576553, -0.14481398463249207, -0.2887890934944153, 0.11530670523643494, -0.23494771122932434, -0.24856314063072205, 0.10709155350923538], [-0.17055676877498627, -0.11419375985860825, 0.18823827803134918, -0.5746636986732483, -0.045512568205595016, -0.030997982248663902, -0.16358624398708344, 0.29428234696388245, 0.22502197325229645, -0.010124648921191692, -0.12897054851055145, 0.09974401444196701, -0.37683817744255066, 0.232710063457489, -0.10054238885641098, -0.30733874440193176, 0.07306337356567383, -0.02359609678387642, -0.05743258073925972, -0.26611992716789246, 0.1232227310538292, -0.2382165640592575, -0.1098230704665184, -0.13319410383701324]], "biases": [-0.05604428052902222, -0.07309643179178238, -0.10459421575069427, -0.06211819127202034, -0.15282845497131348, 0.034126292914152145, 0.08919427543878555, 0.08129642903804779, -0.0380391888320446, -0.03569338470697403, -0.09298606216907501, -0.2563219666481018]}}

# def normalize(arr, mx, mn):
#     for i in range(len(arr)): 
#         for j in range(len(arr[i])):
#             arr[i][j] = arr[i][j]*100 / (mx - mn)
    
#     return arr

def relu(x):
    return max(0.0, x)

def custom_predict(input):
    for key, layer in layers.items(): 
        # print(layer)
        config = layer["config"]
        weights = layer["weights"]
        biases = layer["biases"]

        # print(config)
        neurons = config["units"]
        output = [0]*neurons

        for n in range(neurons):
            activation = 0

            assert len(input) == len(weights[n])

            for (i, w) in zip(input, weights[n]): 
                activation += i * w
            activation += biases[n]
            
            # print(activation)
            if(config["activation"] == 'relu'):
                output[n] = relu(activation)
            else: 
                output[n] = activation
        
        input = output 

    return input

# import sys 
# import numpy as np
# file = open("data.txt", "r")
# sys.stdin = file
# total_correct = 0
# total_incorrect = 0

data = []
days = int(input())

for i in range(days):
    temps = [float(x) for x in input().split()]
    data.append(temps)

for d in data: 
    ans = custom_predict(d[:24])
    print(" ".join([format(x, ".1f") for x in ans]))

#     truth = d[24:]
#     diff = np.abs(np.array(ans) - np.array(truth)) 
 
#     correct = np.count_nonzero(diff < 0.75)
#     incorrect = np.count_nonzero(diff >= 2.05)
 
#     total_correct += correct
#     total_incorrect += incorrect


# score = 25 * (total_correct - total_incorrect) / days
# print(total_correct, total_incorrect, score)
# file.close()

Test details

Test 1

Verdict: ACCEPTED

input
1000
-0.4 -0.1 -0.2 -0.3 -0.4 -0.5 ...

correct output
0.4 0.4 0.5 0.8 0.9 1.1 1.3 1....

user output
0.3 0.2 0.1 -0.0 -0.2 -0.2 -0....
Truncated

Test 2

Verdict: ACCEPTED

input
1000
2.9 2.9 2.9 2.1 2.6 2 2 2.2 2....

correct output
2.3 1.6 1.5 1.1 1 0.7 0.6 0.8 ...

user output
2.7 2.7 2.6 2.4 2.4 2.0 2.1 2....
Truncated

Test 3

Verdict: ACCEPTED

input
1000
6.6 6 6.4 6 4.6 4.6 4.2 4.3 4....

correct output
10 10.9 10.3 10.1 9.1 7.3 5.7 ...

user output
10.1 10.0 9.6 9.1 8.4 7.6 6.7 ...
Truncated

Test 4

Verdict: ACCEPTED

input
1000
19.4 20.2 19.1 18.9 18.3 17.3 ...

correct output
18 18.2 17 17.5 17.2 16.2 12 8...

user output
17.6 17.6 17.3 16.8 16.3 15.4 ...
Truncated

Test 5

Verdict: ACCEPTED

input
1000
-5.7 -5.8 -5.8 -5.9 -7.1 -6.9 ...

correct output
-4.2 -4.1 -4 -3.8 -3.5 -3.2 -3...

user output
-4.5 -4.4 -4.3 -4.5 -4.6 -4.7 ...
Truncated

Test 6

Verdict: ACCEPTED

input
1000
14.8 14.8 15.4 12.9 11.8 9.7 9...

correct output
11.8 11 11.6 10.8 10.4 10.4 10...

user output
12.8 12.9 12.5 12.0 11.4 10.4 ...
Truncated

Test 7

Verdict: ACCEPTED

input
1000
0.7 1 2 1.4 0.6 -0.4 -0.9 -0.7...

correct output
-1.3 -0.5 -0.6 -1 -3.2 -7.2 -6...

user output
-1.8 -1.8 -1.9 -2.2 -2.5 -2.8 ...
Truncated

Test 8

Verdict: ACCEPTED

input
1000
15.1 15.3 14.9 14.4 14.4 13.7 ...

correct output
15.6 15.9 16 15.2 14.6 14.4 13...

user output
15.2 15.2 14.9 14.6 14.1 13.4 ...
Truncated