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

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.23072347044944763, -0.14574794471263885, -0.46804726123809814, -0.032944440841674805, 0.13333693146705627, -0.24451708793640137, 0.0357198566198349, 0.1522633284330368, -0.08426880836486816, 0.18100367486476898, 0.20595332980155945, -0.19377271831035614, 0.015123186632990837, -0.0026600731071084738, -0.31056374311447144, -0.18121235072612762, 0.0063115800730884075, 0.10569461435079575, 0.1391962617635727, 0.21691173315048218, 0.17202536761760712, 0.2500903606414795, -0.012660718522965908, -0.9679335951805115], [0.15334855020046234, -0.21017125248908997, 0.33150848746299744, -0.06310933828353882, -0.05553526431322098, 0.006332071963697672, 0.03333622217178345, -0.030732333660125732, -0.04998193308711052, 0.3015461266040802, -0.2488562911748886, 0.14016006886959076, 0.2164621502161026, -0.16967390477657318, 0.04414801299571991, 0.13870497047901154, 0.0377783365547657, 0.13258536159992218, 0.10333050787448883, 0.1823706179857254, -0.06817196309566498, -0.05014762654900551, -0.03917994722723961, -0.10147825628519058], [-0.0647502914071083, 0.2575155198574066, 0.1762901395559311, -0.03802046924829483, -0.33259764313697815, -0.004585541319102049, -0.17294704914093018, -0.1993895322084427, 0.014352306723594666, 0.21813836693763733, 0.12857270240783691, 0.05072084814310074, 0.16076739132404327, 0.08291642367839813, -0.052125051617622375, -0.16107837855815887, 0.05283132195472717, -0.11213012039661407, -0.3699929118156433, 0.26871633529663086, 0.25041884183883667, 0.005484337452799082, 0.06559398025274277, -0.050792891532182693], [-0.170915424823761, -0.06637391448020935, -0.027123605832457542, -0.17901553213596344, -0.164882630109787, 0.38262298703193665, 0.07288192957639694, 0.1615460067987442, 0.0532495379447937, -0.20749808847904205, 0.08227613568305969, -0.30272746086120605, 0.10033983737230301, 0.05539493262767792, -0.1640605628490448, 0.17283371090888977, 0.1352279782295227, 0.2310064285993576, 0.2546350955963135, 0.025733906775712967, 0.15526701509952545, 0.2725517749786377, 0.19043223559856415, 0.2585809826850891], [-0.10637395083904266, -0.23948903381824493, 0.06036838889122009, 0.07393857091665268, -0.08981336653232574, 0.3042464256286621, 0.23033395409584045, -0.02989232912659645, 0.00781869888305664, 0.09751202166080475, 0.07715224474668503, -0.1401476263999939, -0.07604047656059265, -0.08337922394275665, 0.24394813179969788, 0.4075174331665039, -0.033479899168014526, 0.4120006561279297, 0.16992588341236115, -0.17404577136039734, -0.141203835606575, -0.22963672876358032, -0.2673479914665222, -0.8421288728713989], [0.27545854449272156, -0.17574383318424225, 0.39325979351997375, 0.2381121814250946, -0.08887963742017746, 0.20825451612472534, -0.23751123249530792, -0.15100029110908508, -0.0331047922372818, -0.22046656906604767, -0.1819625198841095, 0.19847697019577026, 0.23128695785999298, -0.1762292981147766, 0.11249874532222748, -0.5417697429656982, -0.0858365148305893, -0.19755159318447113, -0.2840035855770111, 0.2194150984287262, -0.21286779642105103, 0.19856837391853333, 0.20600099861621857, 0.4901961386203766], [0.0575888566672802, 0.25209325551986694, -0.29158204793930054, 0.05174238979816437, 0.09108852595090866, -0.30931171774864197, 0.07145818322896957, -0.09534002095460892, -0.14112602174282074, 0.33419954776763916, -0.0627366378903389, 0.051165927201509476, -0.26369398832321167, 0.07145550101995468, -0.05547861009836197, -0.14532265067100525, -0.2770193815231323, 0.12431743741035461, -0.034421686083078384, -0.12385722994804382, 0.14163778722286224, -0.1924729198217392, 0.2726675570011139, 0.7639053463935852], [-0.11038625240325928, -0.04905473068356514, -0.056349948048591614, 0.1937265545129776, 0.04401112720370293, 0.008962411433458328, -0.17669904232025146, -0.024718694388866425, -0.023610571399331093, 0.2062981128692627, -0.14969086647033691, 0.06000913307070732, 0.10939114540815353, 0.05426182225346565, 0.03015824593603611, 0.09035149961709976, -0.16621020436286926, -0.14227990806102753, 0.08369861543178558, 0.173959419131279, 0.27717703580856323, -0.24095779657363892, -0.03248533979058266, 0.681915819644928], [0.013849351555109024, -0.30918458104133606, 0.1325833648443222, 0.26138874888420105, 0.1935737282037735, -0.1356508880853653, -0.19941507279872894, 0.04989292100071907, 0.23223815858364105, -0.23878398537635803, -0.05565474554896355, 0.26292315125465393, -0.21540632843971252, 0.4985368549823761, -0.1598920077085495, -0.0013277826365083456, 0.36326321959495544, -0.2066842019557953, -0.4836626648902893, 0.12097707390785217, -0.3291901648044586, 0.15082325041294098, 0.31167757511138916, -0.21002359688282013], [-0.1569393277168274, 0.08311635255813599, -0.15636959671974182, 0.12313900142908096, -0.05971890687942505, 0.19909420609474182, 0.002587310504168272, 0.14519572257995605, 0.02150808833539486, 0.04897969588637352, 0.17888404428958893, -0.2712242603302002, 0.10261718928813934, -0.15525220334529877, 0.055055439472198486, -0.03511999547481537, 0.048383358865976334, 0.19147568941116333, 0.07555723935365677, 0.11435063183307648, -0.08405470848083496, 0.07166194915771484, 0.001843059086240828, 0.4361969828605652], [-0.11270800977945328, 0.0812619999051094, 0.2311483919620514, -0.1110684871673584, 0.002427706029266119, -0.29069629311561584, -0.26987573504447937, -0.24925047159194946, 0.12770986557006836, -0.3071577548980713, 0.06434404104948044, 0.1820405274629593, -0.08993425965309143, 0.16177992522716522, 0.27838221192359924, 0.4064437448978424, 0.2985982298851013, -0.10722173750400543, -0.2814406454563141, 0.3580898940563202, 0.05322560667991638, 0.23956367373466492, -0.10455923527479172, 0.20361599326133728], [0.27050045132637024, -0.15290668606758118, -0.24572429060935974, 0.04140458628535271, -0.12914687395095825, -0.2563457489013672, 0.2684139907360077, -0.09855614602565765, 0.2991940379142761, 0.22358080744743347, 0.031483620405197144, -0.1671171635389328, -0.17485696077346802, -0.1798468977212906, -0.06412377208471298, 0.25123047828674316, 0.0746995359659195, 0.5074089169502258, 0.10390347987413406, 0.1758122593164444, -0.1047065332531929, 0.16113100945949554, -0.15862707793712616, -0.7976797819137573], [-0.06811963766813278, 0.36856916546821594, 0.16778886318206787, -0.14146368205547333, -0.17961105704307556, 0.1511530727148056, 0.18175500631332397, 0.0856098160147667, -0.15482521057128906, -0.1873294860124588, -0.022959532216191292, -0.122756227850914, -0.029226111248135567, 0.027370914816856384, 0.18690496683120728, -0.24907468259334564, 0.19038335978984833, -0.14442330598831177, -0.23815511167049408, -0.0061904010362923145, -0.1734907031059265, 0.16399914026260376, -0.27914562821388245, -0.8897422552108765], [-0.018871523439884186, 0.1330212652683258, -0.07299843430519104, 0.0645037516951561, 0.09093429148197174, -0.10520870983600616, -0.15436917543411255, -0.1447683870792389, -0.09843507409095764, 0.04817245155572891, 0.04027875140309334, -0.04947255924344063, 0.017763467505574226, 0.19519828259944916, -0.1919335573911667, -0.03536630794405937, -0.23569677770137787, -0.18228167295455933, -0.0034289942122995853, 0.23844687640666962, -0.04222732037305832, 0.2360377311706543, -0.04199059307575226, -0.7216365933418274], [-0.32758909463882446, 0.21342256665229797, 0.24116936326026917, 0.16317777335643768, -0.15579597651958466, -0.0599326565861702, -0.391122043132782, -0.5686209797859192, 0.24690373241901398, 0.04929686337709427, -0.1347229778766632, 0.07752560079097748, 0.3970819115638733, 0.2763933539390564, -0.18910963833332062, 0.271539568901062, 0.12449309229850769, 0.29495206475257874, 0.07317209988832474, 0.01659577153623104, -0.026370344683527946, -0.1907912641763687, -0.11638802289962769, -0.40912294387817383], [0.23900267481803894, 0.14252310991287231, -0.06827164441347122, -0.11018411070108414, 0.27064841985702515, -0.14999356865882874, 0.29791855812072754, 0.13627269864082336, -0.06013923138380051, -0.10242988169193268, -0.14773865044116974, 0.03855722397565842, 0.18884798884391785, -0.18353451788425446, -0.15650871396064758, -0.215840145945549, -0.2132892906665802, 0.43676525354385376, 0.016473129391670227, 0.044896695762872696, -0.164247527718544, 0.19100823998451233, -0.10847394168376923, -0.40688636898994446], [0.122007355093956, 0.11515728384256363, 0.04814552888274193, -0.09225765615701675, -0.04998435825109482, 0.14666759967803955, -0.029150519520044327, -0.16478027403354645, 0.24812038242816925, -0.2887466549873352, -0.005066967569291592, -0.037901874631643295, 0.15509332716464996, 0.01698264293372631, 0.23139366507530212, 0.19624361395835876, 0.31998682022094727, -0.11365426331758499, -0.5751510262489319, -0.47421979904174805, -0.028632184490561485, 0.02719203382730484, 0.3945430517196655, -0.2894347906112671], [0.2980797290802002, -0.2673567831516266, 0.1292504370212555, 0.008426754735410213, -0.0059581054374575615, 0.04302367568016052, -0.29208123683929443, 0.009064673446118832, 0.17216716706752777, 0.09800339490175247, -0.23283036053180695, 0.15425534546375275, 0.045620497316122055, 0.2830170691013336, 0.006192896980792284, -0.3099519610404968, -0.1513703167438507, 0.12345964461565018, -0.18387703597545624, -0.2478826940059662, 0.32684364914894104, 0.007151049096137285, 0.45407748222351074, -0.3644495904445648], [0.018742961809039116, 0.25318068265914917, -0.31823188066482544, 0.16150803864002228, 0.0406535267829895, -0.3651070296764374, -0.15946930646896362, 0.38979020714759827, 0.03780872002243996, -0.16360458731651306, 0.031866781413555145, 0.13322731852531433, -0.08574290573596954, 0.16770535707473755, -0.11932390928268433, 0.05461205542087555, 0.07459763437509537, -0.25516462326049805, -0.016763735562562943, -0.10653236508369446, -0.2791513502597809, 0.2830890417098999, -0.10131077468395233, 0.3474958539009094], [0.11798255145549774, -0.08381779491901398, 0.20741014182567596, 0.07724739611148834, -0.01796269603073597, -0.11729314923286438, -0.007847494445741177, 0.13044080138206482, -0.033676665276288986, -0.06993210315704346, -0.3710373640060425, 0.003666872624307871, 0.1998271942138672, 0.019437626004219055, 0.10621471703052521, -0.21185502409934998, -0.15662164986133575, 0.000528248434420675, -0.050558436661958694, -0.057928863912820816, 0.06025848537683487, -0.04141002520918846, -0.23724907636642456, -0.9851718544960022], [0.09719271957874298, 0.288825124502182, -0.25677865743637085, 0.08218477666378021, -0.37503859400749207, -0.14143410325050354, 0.06786615401506424, 0.23133887350559235, -0.2716645896434784, -0.23975984752178192, -0.08449961990118027, 0.20289498567581177, 0.2121853083372116, -0.17781862616539001, -0.04172326251864433, 0.09792565554380417, 0.06650115549564362, 0.044538404792547226, 0.323183536529541, 0.04677999019622803, -0.3975876271724701, -0.1144266352057457, -0.48230141401290894, 0.5143497586250305], [0.16345646977424622, -0.33434978127479553, 0.11098680645227432, -0.10038839280605316, 0.3785210847854614, -0.16443045437335968, 0.3574706017971039, 0.17883773148059845, 0.38588619232177734, 0.05552728474140167, -0.25755786895751953, 0.3121398389339447, 0.025792529806494713, 0.12189950793981552, -0.01160621177405119, -0.11325875669717789, 0.24337469041347504, 0.03337956964969635, 0.040417175740003586, -0.2466849684715271, -0.2834230661392212, 0.010109027847647667, 0.2582656741142273, 0.4890836179256439], [0.09261389076709747, -0.25601160526275635, 0.2486150860786438, -0.08972078561782837, 0.07635492086410522, 0.20088724792003632, -0.02614285796880722, 0.14672382175922394, -0.019095830619335175, -0.14178358018398285, -0.12089049071073532, 0.06450260430574417, 0.04533085972070694, -0.2510569393634796, 0.11539356410503387, 0.2084086686372757, 0.013748143799602985, 0.21559560298919678, -0.03895742818713188, -0.08355353772640228, -0.26832178235054016, -0.0036138081923127174, 0.018254155293107033, 0.7244851589202881], [0.004799441900104284, 0.0469873808324337, 0.024953249841928482, -0.023561060428619385, -0.05234120786190033, -0.028626982122659683, 0.11374622583389282, -0.08653562515974045, 0.13306491076946259, 0.02633357234299183, 0.08279244601726532, -0.020964685827493668, 0.1280488222837448, -0.05703888088464737, 0.12182939797639847, -0.22774377465248108, -0.02712205983698368, 0.0026697313878685236, -0.0853174477815628, -0.010578138753771782, 0.07875094562768936, -0.31746599078178406, 0.12253284454345703, 0.1725144237279892]], "biases": [-0.03294934332370758, -0.41323748230934143, 0.4269838035106659, 0.01843663863837719, 0.13102620840072632, -0.7826731204986572, 0.3930642604827881, 0.060384757816791534, 0.31188303232192993, -0.024925472214818, 0.8373787999153137, 1.1480786800384521, 0.16809889674186707, -0.3531681299209595, 0.3134597837924957, 0.49929380416870117, 0.3403531312942505, 0.21891403198242188, -0.18594929575920105, 0.05401398614048958, 0.7832216620445251, 0.07597573846578598, -0.13133423030376434, -0.1632474809885025]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.2573472559452057, -0.09437962621450424, 0.06769273430109024, 0.11981377005577087, -0.15515734255313873, 0.10400183498859406, 0.32260823249816895, 0.18010281026363373, -0.06511454284191132, 0.12078702449798584, 0.09085223823785782, -0.1122385635972023, -0.15750043094158173, -0.2246934473514557, -0.10202249139547348, -0.06294867396354675, -0.058791257441043854, -0.0358366034924984, 0.07018958777189255, -0.17576855421066284, 0.04137418046593666, 0.09574901312589645, 0.3433702886104584, 0.046803560107946396], [-0.255713552236557, -0.07540915161371231, 0.053279370069503784, 0.15880274772644043, -0.1574285328388214, 0.15257415175437927, 0.2809789478778839, 0.22115281224250793, -0.03759691119194031, 0.022329095751047134, 0.06977521628141403, -0.17743387818336487, -0.25727057456970215, -0.29019895195961, -0.11148998141288757, -0.06545709818601608, -0.10119259357452393, -0.13033966720104218, 0.09724467992782593, -0.030779553577303886, 0.071391761302948, 0.14435343444347382, 0.2835882306098938, 0.009741123765707016], [-0.28874269127845764, -0.026442784816026688, -0.004019941668957472, 0.14513123035430908, -0.1745242476463318, 0.13686475157737732, 0.24471984803676605, 0.2700352370738983, 0.04212290421128273, 0.06027645990252495, 0.043342866003513336, -0.1727452576160431, -0.12151308357715607, -0.1622982919216156, -0.1248214989900589, -0.05491473525762558, -0.18745608627796173, -0.12063907086849213, 0.06627754122018814, -0.21919602155685425, 0.08407874405384064, 0.09414982795715332, 0.30743375420570374, 0.0467706099152565], [-0.30914169549942017, 0.011521953158080578, -0.08242806792259216, 0.015526069328188896, -0.1641310155391693, 0.10971103608608246, 0.23538769781589508, 0.2747790515422821, 0.07714591175317764, 0.3196110129356384, 0.04722698777914047, -0.18857702612876892, -0.06813548505306244, -0.09152106940746307, -0.15898972749710083, -0.028996318578720093, -0.30557236075401306, -0.07973304390907288, 0.004281932022422552, -0.30294090509414673, 0.14548300206661224, 0.06757267564535141, 0.24465292692184448, -0.09723518043756485], [-0.271300733089447, -0.01597927138209343, -0.09514659643173218, 0.09870588034391403, -0.09545103460550308, 0.12514370679855347, 0.1993049830198288, 0.21776224672794342, -0.013876460492610931, 0.2990325689315796, 0.062158770859241486, -0.34529682993888855, -0.4290892481803894, -0.24390381574630737, -0.19776694476604462, 0.007819104008376598, -0.32501837611198425, -0.15807153284549713, -0.0983939915895462, 0.08777640759944916, 0.2147844135761261, 0.14470820128917694, 0.07274848967790604, -0.1129465401172638], [-0.22561682760715485, 0.11970632523298264, -0.08596233278512955, 0.2165582925081253, -0.033582862466573715, -0.0035173597279936075, 0.14896872639656067, 0.08833057433366776, -0.03342350944876671, 0.25199005007743835, -0.01573440432548523, -0.4355362057685852, 0.017799202352762222, -0.048835624009370804, -0.15481899678707123, 0.009724694304168224, -0.4693513512611389, -0.04570895805954933, -0.05270378291606903, -0.4505102038383484, 0.2259468287229538, 0.035397421568632126, 0.23774686455726624, 0.05556598678231239], [-0.2994222044944763, 0.046076059341430664, 0.08694300800561905, 0.41459742188453674, 0.00969644170254469, -0.08314020186662674, 0.16757948696613312, 0.0007364387856796384, -0.09959904849529266, -0.1796252578496933, -0.02675129473209381, -0.49181389808654785, -0.394734650850296, -0.10717715322971344, -0.19150887429714203, 0.05244347080588341, -0.41875019669532776, -0.2659832537174225, -0.08751736581325531, -0.0019601972308009863, 0.20510058104991913, 0.21131402254104614, 0.22749264538288116, 0.06147173419594765], [-0.17253030836582184, 0.18408222496509552, -0.03614131361246109, 0.3411663770675659, 0.006107890047132969, -0.08090927451848984, 0.09933342784643173, 0.08208467811346054, -0.23088225722312927, -0.14445799589157104, 0.05311315879225731, -0.5673238039016724, -0.19824789464473724, -0.16937658190727234, -0.22627228498458862, -0.03919810801744461, -0.40813136100769043, -0.23041142523288727, 0.09556321799755096, -0.17137275636196136, 0.23419134318828583, 0.22536885738372803, 0.039274755865335464, 0.11323517560958862], [-0.14779046177864075, 0.09591604769229889, 0.02468620054423809, 0.047379106283187866, 0.061081524938344955, -0.12719228863716125, 0.09505003690719604, -0.08412574231624603, -0.10289289802312851, 0.3620794117450714, 0.21552424132823944, -0.6152217984199524, -0.04095925763249397, -0.09926334023475647, -0.3558250367641449, -0.13411349058151245, -0.4799061119556427, -0.07286900281906128, 0.0006148134707473218, -0.3494391441345215, 0.28789860010147095, 0.23297329246997833, -0.021724168211221695, -0.032713938504457474], [-0.2440323531627655, 0.10334638506174088, 0.01817559264600277, 0.045190032571554184, 0.14617054164409637, -0.1400238573551178, 0.06708946079015732, 0.0030180704779922962, -0.18966220319271088, 0.18715158104896545, 0.2799661159515381, -0.6212310791015625, -0.4477040767669678, -0.0735333189368248, -0.48741185665130615, -0.1258103847503662, -0.4221237301826477, -0.07625750452280045, -0.04243075102567673, 0.046112846583127975, 0.32487794756889343, 0.2746787667274475, -0.05994569510221481, 0.019468851387500763], [-0.23264920711517334, 0.22160764038562775, 0.10296814888715744, 0.0922834649682045, 0.23972459137439728, -0.2216835618019104, 0.0063820211216807365, 0.2100895345211029, -0.15906526148319244, -0.10107714682817459, 0.20212261378765106, -0.6268470287322998, -0.24505281448364258, 0.22225531935691833, -0.5705074667930603, -0.0826537236571312, -0.4193905293941498, -0.04989069327712059, 0.0785694494843483, -0.34257781505584717, 0.37316685914993286, 0.20190230011940002, 0.12142204493284225, -0.009214016608893871], [-0.014677321538329124, 0.2173774093389511, 0.015257660299539566, -0.034998781979084015, 0.17606940865516663, -0.13835984468460083, 0.03641548752784729, 0.060603074729442596, -0.22491537034511566, 0.2379891723394394, 0.347256064414978, -0.6952789425849915, -0.2536165714263916, -0.2470342367887497, -0.5617730021476746, -0.1478002965450287, -0.3927806615829468, -0.07069037109613419, 0.016078876331448555, -0.11742369830608368, 0.36290690302848816, 0.258545845746994, -0.16116750240325928, -0.06322312355041504]], "biases": [0.020974550396203995, 0.103999063372612, 0.13155163824558258, 0.13130250573158264, 0.16061925888061523, 0.2823544144630432, 0.24651700258255005, 0.32940393686294556, 0.21383056044578552, 0.1870075911283493, 0.14594343304634094, 0.10860058665275574]}}

# 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.2 0.2 0.2 0.2 0.0 0.1 0.0 -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.3 2.1 2.2 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 9.9 9.6 9.1 8.3 7.4 6.5 5...
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.7 17.6 17.4 17.0 16.4 15.6 ...
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.3 -4.3 -4.2 -4.4 -4.1 ...
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
13.0 12.9 12.6 12.1 11.3 10.5 ...
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.7 -1.8 -2.0 -2.3 -2.3 ...
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.3 15.3 15.0 14.7 13.9 13.3 ...
Truncated