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

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.0238238126039505, 0.34733253717422485, 0.07272176444530487, 0.03509961813688278, 0.2725639343261719, 0.25170695781707764, -0.03581036999821663, -0.2252758890390396, -0.12466016411781311, -0.1759035885334015, -0.023751866072416306, -0.13014449179172516, 0.10674580931663513, -0.043788135051727295, 0.025697659701108932, -0.03517739847302437, -0.2908259928226471, -0.387245237827301, 0.10160719603300095, -0.1309921145439148, 0.3686714172363281, -0.1561955213546753, 0.1054055392742157, 0.04591960087418556], [0.022978385910391808, -0.19394995272159576, 0.03086800128221512, 0.1521221250295639, 0.17888511717319489, -0.23813995718955994, -0.006596750114113092, -0.14932553470134735, 0.17614276707172394, -0.1884402185678482, 0.041761599481105804, -0.25043565034866333, 0.10882128775119781, -0.18790099024772644, -0.15351326763629913, 0.011547151021659374, 0.027870040386915207, 0.0795224979519844, -0.30228763818740845, -0.15844173729419708, 0.15382589399814606, 0.2788214087486267, 0.1746191829442978, -0.6315656304359436], [-0.14002786576747894, -0.1365281641483307, -0.06909679621458054, -0.10729041695594788, -0.056148700416088104, 0.2304353564977646, -0.10495253652334213, -0.008127358742058277, -0.14310131967067719, 0.1254076212644577, 0.17062894999980927, -0.11396089941263199, -0.2841664254665375, 0.21741856634616852, 0.15973441302776337, 0.016634494066238403, -0.2866014838218689, 0.1917087584733963, 0.45141908526420593, 0.27039557695388794, 0.23610296845436096, 0.10622768104076385, -0.10052209347486496, -0.845413863658905], [0.04529489949345589, 0.03691796585917473, 0.04571016877889633, -0.20452550053596497, 0.1622985452413559, -0.19207577407360077, 0.04099027439951897, 0.3431563973426819, 0.006939792074263096, -0.03767571225762367, 0.07018834352493286, -0.16643811762332916, 0.1605778932571411, 0.043830350041389465, 0.11180830746889114, 0.13913726806640625, 0.12573044002056122, -0.2510001063346863, 0.27143988013267517, 0.21101969480514526, 0.005799999460577965, 0.20067808032035828, -0.12755776941776276, 0.29727083444595337], [0.10350460559129715, -0.15427972376346588, -0.061106834560632706, -0.0795220360159874, -0.05503365024924278, 0.2148987501859665, -0.23285627365112305, -0.03987160325050354, -0.10376468300819397, -0.10874366760253906, 0.05443522334098816, -0.06501398235559464, -0.3086068630218506, -0.07150518149137497, -0.14918603003025055, 0.14926134049892426, -0.15186958014965057, 0.006995424162596464, 0.20368395745754242, 0.012405581772327423, -0.11323484778404236, -0.21578378975391388, 0.2258710265159607, 0.4845023453235626], [0.042676884680986404, -0.12174571305513382, -0.2045069932937622, -0.25129759311676025, 0.36243706941604614, -0.1340540200471878, -0.2656366229057312, -0.016034552827477455, -0.06667312234640121, 0.3333616554737091, -0.1753980666399002, 0.09761496633291245, -0.025282200425863266, 0.19895023107528687, -0.080866739153862, 0.28703126311302185, -0.10559656471014023, -0.06390660256147385, 0.06998031586408615, -0.19358903169631958, 0.015757083892822266, 0.23195788264274597, 0.25830763578414917, 0.28692230582237244], [0.146567702293396, 0.1874149590730667, 0.03088487684726715, -0.2619500458240509, 0.09365633130073547, 0.12499985843896866, -0.20187433063983917, -0.16077643632888794, 0.020950669422745705, -0.1458008587360382, 0.16710807383060455, 0.3161068260669708, 0.039308905601501465, -0.31272774934768677, 0.2787940502166748, 0.17365235090255737, -0.1648014783859253, -0.26352205872535706, -0.0002452281187288463, 0.2058391273021698, 0.2793286442756653, 0.24746258556842804, -0.19332918524742126, -0.2715281844139099], [0.1585562378168106, -0.08987926691770554, -0.053263090550899506, -0.1398478001356125, 0.23693910241127014, -0.09452983736991882, -0.1062711849808693, 0.07198268920183182, -0.013520638458430767, -0.16695597767829895, 0.22767747938632965, 0.02221589908003807, -0.18864302337169647, 0.03236810863018036, 0.14509667456150055, 0.13330039381980896, -0.143208846449852, -0.20858515799045563, -0.2965918779373169, -0.06813732534646988, -0.021319234743714333, 0.2736579477787018, -0.20969964563846588, -0.46970775723457336], [0.19694294035434723, 0.023716134950518608, 0.09237592667341232, -0.2697586417198181, -0.24837620556354523, 0.2938523590564728, 0.21885697543621063, -0.14981332421302795, 0.03174971416592598, 0.11786983162164688, -0.11065785586833954, 0.1162513792514801, -0.1438601315021515, 0.013528169132769108, -0.11611586064100266, 0.15320123732089996, 0.14932379126548767, -0.2445346564054489, -0.12543848156929016, 0.04837575554847717, -0.14703287184238434, -0.012279515154659748, 0.09650111198425293, -1.0512175559997559], [-0.09452153742313385, 0.10966618359088898, 0.1680988371372223, -0.19771024584770203, 0.07144433259963989, 0.05935017392039299, 0.2113512009382248, -0.15045994520187378, -0.04420764744281769, -0.02251889556646347, -5.896815127925947e-05, 0.20352999866008759, -0.018896272405982018, -0.07173293083906174, 0.1404017210006714, 0.22967448830604553, -0.1136859580874443, 0.23376718163490295, 0.09824459999799728, 0.14562952518463135, 0.041003379970788956, 0.12923650443553925, -0.0661492720246315, 0.5027686357498169], [-0.05562771484255791, -0.1722557246685028, -0.1682875156402588, -0.20278944075107574, 0.28089436888694763, -0.16551081836223602, 0.1884532868862152, -0.2585262358188629, 0.10758905857801437, -0.11702965945005417, -0.1485588103532791, 0.12528693675994873, -0.1228291243314743, -0.15935586392879486, 0.1632332056760788, -0.009581166319549084, 0.11735749989748001, -0.22111743688583374, -0.20080025494098663, 0.08955735713243484, 0.15512260794639587, 0.4864383041858673, -0.025413455441594124, -0.18708747625350952], [0.25951701402664185, -0.14493565261363983, 0.3668862283229828, -0.16778452694416046, 0.18985489010810852, -0.2198353260755539, -0.2292475700378418, -0.21022067964076996, 0.008566600270569324, 0.11368774622678757, -0.1685907542705536, 0.12796053290367126, -0.02133610099554062, 0.4018334150314331, -0.14410774409770966, -0.03415459766983986, -0.16176104545593262, -0.09537272155284882, -0.05813484638929367, -0.37025701999664307, -0.3243227005004883, -0.11550414562225342, -0.37043672800064087, -0.20955905318260193], [-0.02818978577852249, 0.026793325319886208, 0.06027260050177574, 0.15133246779441833, -0.209883451461792, -0.06672341376543045, -0.17199355363845825, 0.3924223780632019, -0.11914168298244476, -0.13505223393440247, 0.0919007658958435, 0.2336510717868805, -0.0846809446811676, 0.02086828090250492, -0.21718432009220123, -0.05185181275010109, -0.06978848576545715, 0.26067689061164856, -0.08106766641139984, 0.19498400390148163, 0.08019837737083435, -0.06101616472005844, 0.01794804260134697, 0.8286597728729248], [-0.2178373634815216, -0.09032062441110611, 0.32172009348869324, -0.008311009034514427, -0.10082341730594635, 0.12600773572921753, 0.40131378173828125, -0.0946916863322258, 0.32899370789527893, -0.04342951625585556, -0.21510033309459686, -0.1926734447479248, 0.0904264971613884, 0.007074938155710697, 0.14563779532909393, 0.2451622188091278, 0.16151900589466095, 0.04730699211359024, 0.13949017226696014, 0.0816403180360794, -0.08262572437524796, -0.2124730944633484, -0.2107834815979004, 0.6296027898788452], [0.13587921857833862, -0.004677206743508577, 0.0750422403216362, 0.18460190296173096, -0.07858908921480179, 0.14363454282283783, 0.06983893364667892, -0.3187520205974579, 0.021794583648443222, -0.04312349110841751, 0.008045541122555733, 0.06128302216529846, -0.11111781746149063, -0.1747111827135086, 0.17961308360099792, 0.03521241247653961, -0.059662576764822006, -0.4282974600791931, -0.23703475296497345, -0.12161016464233398, 0.17372380197048187, -0.26598915457725525, 0.19526010751724243, 0.6730065941810608], [-0.04418428987264633, -0.15033262968063354, -0.09782867878675461, 0.044159166514873505, 0.13588088750839233, -0.3436657190322876, -0.05914407968521118, -0.37037625908851624, 0.098905049264431, -0.18701079487800598, -0.13343209028244019, 0.11526155471801758, 0.012755786068737507, 0.07582980394363403, 0.03426040709018707, 0.05367569252848625, 0.09930481016635895, -0.017679473385214806, -0.20279976725578308, 0.2691362500190735, -0.16979986429214478, -0.26580610871315, -0.01629061996936798, 0.6304359436035156], [-0.05249471962451935, 0.20691432058811188, -0.05008724331855774, 0.06910578161478043, -0.06013307720422745, -0.10503051429986954, -0.043899379670619965, -0.03717277571558952, -0.09510765224695206, 0.0871233344078064, -0.12115941941738129, 0.17843970656394958, 0.07580945640802383, 0.08574901521205902, -0.14580869674682617, 0.13992120325565338, -0.032593511044979095, -0.0014406958362087607, -0.030923932790756226, 0.05477418377995491, 0.1017460748553276, 0.17090560495853424, -0.0355389378964901, 0.1206747367978096], [0.12608331441879272, -0.4307931661605835, 0.10363999754190445, -0.26531314849853516, 0.266508549451828, 0.08691355586051941, 0.2356647253036499, 0.045556534081697464, -0.10502255707979202, -0.07065486162900925, 0.14700131118297577, 0.259249746799469, 0.23454095423221588, -0.3330245316028595, 0.3184478282928467, -0.26297587156295776, 0.15678828954696655, -0.05959106609225273, 0.20421457290649414, -0.32461538910865784, 0.07083628326654434, -0.2272353321313858, -0.37935659289360046, -0.19867385923862457], [-0.06926935166120529, 0.3163028359413147, 0.1839616596698761, -0.1591079831123352, -0.05468595027923584, 0.047113753855228424, -0.2204534411430359, 0.27323204278945923, 0.1593596637248993, 0.09213399887084961, -0.3040544390678406, 0.03641035035252571, -0.1796436458826065, 0.25593480467796326, 0.013577881269156933, 0.07391403615474701, 0.03020641766488552, -0.08224416524171829, 0.00824649166315794, -0.3188561201095581, -0.274675190448761, -0.2932456135749817, -0.1441493034362793, 0.14452922344207764], [-0.14241601526737213, 0.08608870208263397, -0.30913251638412476, -0.1545732468366623, 0.2662563621997833, 0.0941774770617485, 0.40598997473716736, 0.30307164788246155, 0.0033622796181589365, -0.31100672483444214, -0.01127056684345007, -0.14127977192401886, -0.27764809131622314, 0.0445667989552021, -0.39472267031669617, -0.08724651485681534, 0.22040137648582458, 0.08106787502765656, -0.12812182307243347, -0.019053630530834198, 0.023211553692817688, 0.20343847572803497, -0.18009525537490845, 0.37412306666374207], [0.10640311986207962, -0.053459201008081436, -0.06414644420146942, 0.21538867056369781, -0.18647149205207825, -0.1828858107328415, -0.20223994553089142, 0.001072700135409832, 0.12072164565324783, 0.36478209495544434, -0.21696524322032928, 0.00625790748745203, -0.07680660486221313, 0.1424480527639389, 0.09576939046382904, 0.31455594301223755, 0.4879628121852875, 0.05671685189008713, 0.06728935241699219, -0.19908270239830017, -0.021683190017938614, 0.028019757941365242, -0.22375591099262238, -0.7143232822418213], [0.06415244191884995, 0.206448033452034, -0.09600133448839188, 0.13244712352752686, -0.09753088653087616, 0.12748149037361145, 0.0225832499563694, 0.08909691870212555, 0.051999546587467194, -0.08659081161022186, -0.15851911902427673, -0.08947822451591492, 0.2549026310443878, 0.02388477697968483, -0.20222224295139313, -0.0225699320435524, 0.05853625386953354, 0.01077690813690424, -0.0553889125585556, 0.10429278761148453, -0.18617865443229675, -0.20742224156856537, 0.05805738642811775, -0.8786910176277161], [-0.10026351362466812, 0.023098893463611603, -0.24825750291347504, 0.1850707232952118, 0.13267867267131805, -0.14790000021457672, 0.2246115803718567, 0.17213299870491028, -0.06780558079481125, 0.28187379240989685, -0.09471414983272552, -0.11569356173276901, -0.18875007331371307, 0.20037323236465454, 0.2434064745903015, 0.0929531678557396, 0.2584814131259918, -0.25224748253822327, 0.14115390181541443, 0.16788512468338013, -0.15374813973903656, 0.06022397056221962, 0.07435499876737595, 0.21312762796878815], [-0.10627947002649307, -0.06633257120847702, -0.09763865917921066, -0.09743036329746246, 0.1998981088399887, 0.2224292904138565, -0.24634596705436707, -0.1457521617412567, -0.03170180693268776, 0.26141291856765747, -0.1770230531692505, 0.10872925817966461, -0.01728527992963791, -0.14778940379619598, 0.21114172041416168, -0.12182819098234177, -0.07361885905265808, 0.137132465839386, 0.2728639245033264, -0.05752570554614067, -0.282518208026886, 0.09818409383296967, 0.3592354357242584, 0.5391618609428406]], "biases": [-0.15179626643657684, -0.43277809023857117, -0.12037859857082367, 0.09969097375869751, 0.40014907717704773, 0.2629145681858063, -0.13661737740039825, 0.07572241872549057, 0.1602749526500702, -0.12185795605182648, 0.07354066520929337, -0.009689310565590858, -0.2619371712207794, -0.07629979401826859, -0.15521666407585144, 0.34383460879325867, 0.04654034972190857, -1.5020699501037598, 0.07213073968887329, -0.3470195531845093, 1.1529055833816528, 0.29134491086006165, 0.11665152758359909, -0.2270359992980957]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.061737701296806335, -0.1396017074584961, -0.2599749267101288, 0.23786459863185883, 0.02607247792184353, 0.13018378615379333, -0.1289333701133728, -0.2170013189315796, -0.17133118212223053, 0.12440584599971771, -0.09097552299499512, -0.08069659769535065, 0.2755502462387085, 0.03353157266974449, 0.41042524576187134, 0.07475115358829498, -0.023317068815231323, -0.029458174481987953, 0.10128806531429291, 0.05358831584453583, -0.16930940747261047, -0.3207719922065735, -0.09726784378290176, 0.2653431296348572], [0.009996435604989529, -0.21371060609817505, -0.24187083542346954, -0.08684585988521576, 0.08681773394346237, 0.13867254555225372, 0.016640160232782364, -0.2958325445652008, -0.1407829076051712, -0.13756205141544342, -0.026682579889893532, 0.08165758848190308, 0.4598437249660492, 0.2393120974302292, 0.26941969990730286, -0.04526951536536217, 0.28325867652893066, -0.032466139644384384, 0.10877245664596558, 0.07017816603183746, -0.2095511108636856, -0.4986605644226074, 0.14397664368152618, 0.2225724160671234], [0.04972093552350998, -0.21148721873760223, -0.28640222549438477, 0.07718902826309204, 0.11022277176380157, 0.1550358533859253, -0.15954233705997467, 0.03522959351539612, -0.12426359951496124, 0.17590460181236267, -0.2059347927570343, -0.17749273777008057, 0.33036258816719055, 0.08154132217168808, 0.25304168462753296, 0.12728530168533325, -0.013274623081088066, -0.010835424065589905, 0.12215334177017212, 0.0511300191283226, -0.25378525257110596, -0.4242566227912903, 0.024276891723275185, 0.15955542027950287], [0.014790703542530537, -0.2870992422103882, -0.2747441828250885, 0.097670778632164, 0.14730075001716614, -0.009603927843272686, -0.02018033340573311, 0.04665970057249069, -0.4439440965652466, 0.023711545392870903, -0.11932726204395294, -0.05419855937361717, 0.20105482637882233, 0.21831856667995453, 0.18651752173900604, 0.04808174818754196, 0.16372768580913544, 0.0464785099029541, -0.02420351468026638, 0.10871004313230515, -0.26897820830345154, -0.1850929856300354, -0.020009038969874382, 0.38341912627220154], [0.037118323147296906, -0.38019073009490967, -0.35200080275535583, -0.05640125274658203, 0.16170725226402283, -0.06755080819129944, -0.11340579390525818, 0.04916965588927269, -0.424795001745224, 0.329905241727829, 0.004157724790275097, -0.10664615035057068, 0.27738767862319946, -0.07491126656532288, 0.07802897691726685, 0.08354288339614868, -0.16996122896671295, 0.1319635957479477, -0.09337499737739563, 0.10052508860826492, -0.293218731880188, -0.08228925615549088, 0.3018622100353241, 0.23955287039279938], [0.03162219375371933, -0.392287939786911, -0.4130851626396179, 0.21508581936359406, 0.16973215341567993, 0.11512579768896103, -0.1326967030763626, -0.1659468412399292, -0.19560901820659637, 0.2586558759212494, 0.008916775695979595, -0.021183298900723457, 0.1966821700334549, 0.25175589323043823, -0.03415502607822418, 0.07546183466911316, -0.232051283121109, 0.15149499475955963, -0.19039848446846008, 0.17357712984085083, -0.32145002484321594, -0.20881451666355133, -0.16280242800712585, 0.09866724163293839], [-0.03630629926919937, -0.11623285710811615, -0.4041520655155182, -0.1325359344482422, 0.0459672249853611, 0.0004350015369709581, 0.01102971751242876, 0.025156574323773384, -0.3159981667995453, 0.3230240046977997, -0.16283509135246277, -0.2113846093416214, 0.2288835346698761, 0.15920692682266235, -0.14858175814151764, 0.20468375086784363, -0.205891951918602, 0.2994760572910309, -0.03251774236559868, 0.1900985985994339, -0.39129483699798584, -0.2503516376018524, 0.20160821080207825, 0.15401418507099152], [-0.1514749377965927, -0.22320400178432465, -0.45981496572494507, 0.32752010226249695, 0.01954195462167263, -0.005581729579716921, -0.029622167348861694, -0.12020939588546753, -0.18517306447029114, 0.07959924638271332, 0.05778590589761734, -0.11048886924982071, 0.06267307698726654, 0.19002355635166168, -0.04035724699497223, 0.14653639495372772, -0.044154588133096695, 0.26823365688323975, -0.08016819506883621, 0.08965369313955307, -0.44747596979141235, -0.2965046465396881, 0.011392595246434212, 0.17035165429115295], [-0.1902221143245697, -0.17368686199188232, -0.5336095094680786, 0.15644502639770508, 0.06605647504329681, 0.12634466588497162, 0.19296273589134216, -0.21299736201763153, -0.18894830346107483, -0.15481087565422058, 0.06406699120998383, -0.09771093726158142, 0.15306034684181213, 0.4100819230079651, -0.03658445179462433, 0.10001853108406067, 0.07414063811302185, 0.31752485036849976, -0.22704045474529266, -0.008830186910927296, -0.5136322975158691, -0.17967164516448975, 0.11937631666660309, 0.0674002394080162], [-0.10815727710723877, -0.12901803851127625, -0.4827520549297333, -0.04868514463305473, 0.1961490362882614, 0.24173887073993683, 0.015092393383383751, 0.06289156526327133, 0.06523855775594711, 0.3979205787181854, -0.15942418575286865, -0.3769382834434509, 0.13127928972244263, 0.06339026987552643, -0.1297036111354828, 0.1734604835510254, -0.21592962741851807, 0.45050838589668274, 0.016342028975486755, -0.1546386182308197, -0.5830041170120239, -0.465894877910614, 0.30879175662994385, -0.1814134120941162], [-0.18694154918193817, -0.1969558745622635, -0.3700110614299774, 0.2760023772716522, 0.2831704020500183, 0.1395580917596817, 0.01813581772148609, -0.4293646514415741, -0.20153233408927917, -0.08346135914325714, 0.2330877035856247, 0.013866222463548183, -0.02568180300295353, 0.2870045602321625, -0.07359166443347931, -0.17444193363189697, 0.3838648200035095, 0.5071442723274231, -0.019107140600681305, -0.17158351838588715, -0.5324028134346008, -0.32384055852890015, 0.13494908809661865, 0.025633560493588448], [-0.341828852891922, -0.06928963959217072, -0.32208773493766785, 0.09141983836889267, 0.18767456710338593, 0.01835753209888935, -0.050008028745651245, -0.1887132227420807, -0.3619716465473175, 0.4291076958179474, 0.029483642429113388, -0.25414183735847473, -0.18434269726276398, -0.015995198860764503, 0.0822470486164093, 0.06573191285133362, 0.28707513213157654, 0.4545234441757202, -0.013317239470779896, -0.1806119829416275, -0.5881372094154358, 0.03802749887108803, 0.23710715770721436, -0.030129041522741318]], "biases": [0.24329623579978943, 0.23282212018966675, 0.14091657102108002, 0.1358548402786255, 0.09501607716083527, 0.04824816435575485, 0.2781985402107239, 0.24172930419445038, 0.2538142204284668, 0.22155211865901947, 0.1053725928068161, 0.1270703673362732]}}

# 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.3 0.3 0.3 0.2 0.1 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.6 2.5 2.5 2.3 2.2 2.3 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.0 10.0 9.7 9.0 8.3 7.6 6.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.2 17.6 17.4 16.8 16.3 15.3 ...
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
-3.9 -4.0 -3.8 -4.1 -4.2 -4.4 ...
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.7 12.8 12.6 11.8 11.3 10.6 ...
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.7 -1.7 -2.0 -2.2 -2.5 -2.9 ...
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
14.9 15.0 14.9 14.3 14.0 13.4 ...
Truncated