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

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.024159900844097137, 0.34531450271606445, 0.07317923754453659, 0.036421120166778564, 0.27515384554862976, 0.2549534738063812, -0.03453890606760979, -0.22473186254501343, -0.12568187713623047, -0.1776101440191269, -0.025927001610398293, -0.13023169338703156, 0.10948633402585983, -0.03834206983447075, 0.031841978430747986, -0.03543607145547867, -0.29134905338287354, -0.38557788729667664, 0.1030372679233551, -0.12927435338497162, 0.36750444769859314, -0.15671418607234955, 0.10464029014110565, 0.044432345777750015], [0.02268856205046177, -0.1949533373117447, 0.029382547363638878, 0.15084172785282135, 0.18386304378509521, -0.2356158345937729, -0.005715401843190193, -0.14860959351062775, 0.1779552400112152, -0.19139868021011353, 0.04004029557108879, -0.2518300712108612, 0.10799774527549744, -0.1864987164735794, -0.15297076106071472, 0.008631883189082146, 0.027937425300478935, 0.08245187252759933, -0.30100134015083313, -0.155729740858078, 0.156941220164299, 0.2830934226512909, 0.1831473857164383, -0.6375122666358948], [-0.1450541913509369, -0.14056341350078583, -0.07276256382465363, -0.10794057697057724, -0.059350211173295975, 0.22279497981071472, -0.11213558167219162, -0.013903163373470306, -0.14526116847991943, 0.12494002282619476, 0.17152108252048492, -0.11878200620412827, -0.28937792778015137, 0.21149387955665588, 0.15106083452701569, 0.008979466743767262, -0.2869861125946045, 0.19520126283168793, 0.4527910351753235, 0.27138304710388184, 0.23240531980991364, 0.10658248513936996, -0.09670186042785645, -0.8516073226928711], [0.042245715856552124, 0.037295352667570114, 0.04327401518821716, -0.20131516456604004, 0.16446931660175323, -0.19247035682201385, 0.04280546307563782, 0.34487438201904297, 0.008207974955439568, -0.03633106127381325, 0.07137475162744522, -0.16611707210540771, 0.1578400582075119, 0.04062150791287422, 0.10927615314722061, 0.14082571864128113, 0.1265431046485901, -0.25092706084251404, 0.26812487840652466, 0.2066989690065384, 0.0044031827710568905, 0.19882114231586456, -0.12800560891628265, 0.29981547594070435], [0.10351589322090149, -0.15016569197177887, -0.061795674264431, -0.08235934376716614, -0.06167713925242424, 0.21231943368911743, -0.2330998182296753, -0.03925337269902229, -0.10329559445381165, -0.10432932525873184, 0.055500779300928116, -0.06400308758020401, -0.3105294108390808, -0.0778064951300621, -0.1506793051958084, 0.15053610503673553, -0.1519647240638733, 0.0012367713497951627, 0.20111925899982452, 0.012487087398767471, -0.11216986179351807, -0.21409720182418823, 0.2236708253622055, 0.49145200848579407], [0.04337809234857559, -0.11998341977596283, -0.2047794759273529, -0.2508997917175293, 0.3637365400791168, -0.1337401270866394, -0.2635985314846039, -0.013952048495411873, -0.06290517002344131, 0.3342849910259247, -0.17317354679107666, 0.09850326925516129, -0.024120552465319633, 0.19806568324565887, -0.08177187293767929, 0.2885837256908417, -0.10202137380838394, -0.06382126361131668, 0.07055626064538956, -0.19385890662670135, 0.014016411267220974, 0.23127515614032745, 0.25829482078552246, 0.29079669713974], [0.1456928253173828, 0.18887609243392944, 0.03290588781237602, -0.2652948498725891, 0.0911300927400589, 0.1246257945895195, -0.20085649192333221, -0.16099177300930023, 0.020638568326830864, -0.14668521285057068, 0.16727834939956665, 0.31843331456184387, 0.03687617927789688, -0.3159604072570801, 0.2766610085964203, 0.1717289239168167, -0.16285233199596405, -0.2624868154525757, -0.0011081815464422107, 0.20565609633922577, 0.2799849510192871, 0.24828794598579407, -0.1896401345729828, -0.27585214376449585], [0.15290315449237823, -0.0952904149889946, -0.054238975048065186, -0.13865624368190765, 0.2399778515100479, -0.09565626829862595, -0.1066555455327034, 0.07049915939569473, -0.010764677077531815, -0.16646350920200348, 0.22632646560668945, 0.021961061283946037, -0.1878231167793274, 0.036134544759988785, 0.148890882730484, 0.13138842582702637, -0.14275094866752625, -0.2086022049188614, -0.2982786297798157, -0.06773082166910172, -0.017798369750380516, 0.2766179144382477, -0.19952529668807983, -0.47176140546798706], [0.19170698523521423, 0.019293932244181633, 0.08646795898675919, -0.27466559410095215, -0.2483021318912506, 0.29158180952072144, 0.21949535608291626, -0.14922723174095154, 0.0362020842730999, 0.1163167878985405, -0.10729904472827911, 0.11920425295829773, -0.1374397873878479, 0.021667713299393654, -0.10667929798364639, 0.16046877205371857, 0.1575988382101059, -0.2376806139945984, -0.12211933732032776, 0.05482674017548561, -0.14132612943649292, -0.00790183525532484, 0.10429450869560242, -1.0574054718017578], [-0.09439146518707275, 0.10918714851140976, 0.16815708577632904, -0.19411715865135193, 0.07453650236129761, 0.06101781874895096, 0.21272030472755432, -0.14942845702171326, -0.04160066694021225, -0.02018171176314354, -0.00034699213574640453, 0.20236647129058838, -0.01864444650709629, -0.07495704293251038, 0.13606718182563782, 0.23150263726711273, -0.11334553360939026, 0.23237061500549316, 0.09852296859025955, 0.14558756351470947, 0.041187115013599396, 0.12745968997478485, -0.06730235368013382, 0.5056126117706299], [-0.048687972128391266, -0.1647905856370926, -0.16606342792510986, -0.200081929564476, 0.289139986038208, -0.15808241069316864, 0.19285795092582703, -0.25191256403923035, 0.1126570850610733, -0.11676567047834396, -0.14303363859653473, 0.1291050910949707, -0.12465538084506989, -0.1580435037612915, 0.16683334112167358, -0.005745362490415573, 0.11974157392978668, -0.21900448203086853, -0.192839115858078, 0.09750693291425705, 0.1566181778907776, 0.4896315336227417, -0.018519537523388863, -0.19299159944057465], [0.25622594356536865, -0.1498154103755951, 0.3624318540096283, -0.17334893345832825, 0.1861962378025055, -0.22634683549404144, -0.2318372279405594, -0.21458281576633453, 0.009711645543575287, 0.10796000063419342, -0.17032521963119507, 0.12485452741384506, -0.02394828200340271, 0.4017888307571411, -0.14214278757572174, -0.03448208048939705, -0.15938147902488708, -0.09547337144613266, -0.06266181170940399, -0.37352731823921204, -0.3247658312320709, -0.11379494518041611, -0.36127716302871704, -0.21044695377349854], [-0.028157826513051987, 0.02507905475795269, 0.056579407304525375, 0.15072204172611237, -0.20884455740451813, -0.06787002086639404, -0.17173822224140167, 0.3921852111816406, -0.11918939650058746, -0.13627773523330688, 0.08996840566396713, 0.22902396321296692, -0.0852660983800888, 0.02108117938041687, -0.21939717233181, -0.0540037676692009, -0.07132184505462646, 0.2595992684364319, -0.08037054538726807, 0.19520637392997742, 0.07912970334291458, -0.06162047013640404, 0.01644553616642952, 0.8337306976318359], [-0.2181805521249771, -0.0900234580039978, 0.3207849860191345, -0.006452938076108694, -0.0974244698882103, 0.12777180969715118, 0.40506890416145325, -0.09288092702627182, 0.32965996861457825, -0.04207487404346466, -0.21296356618404388, -0.19224666059017181, 0.08914128690958023, 0.004382569342851639, 0.1428053230047226, 0.24460293352603912, 0.16031236946582794, 0.04717131704092026, 0.140172079205513, 0.08078509569168091, -0.08349312096834183, -0.2133302539587021, -0.20996558666229248, 0.6313886642456055], [0.1360664665699005, -0.0046091279946267605, 0.07499159127473831, 0.18816247582435608, -0.07638496905565262, 0.14146003127098083, 0.06849367171525955, -0.3158743381500244, 0.026380114257335663, -0.04191754385828972, 0.011407507583498955, 0.06199599802494049, -0.1051710695028305, -0.16683006286621094, 0.18276537954807281, 0.03586934134364128, -0.05654575303196907, -0.4253585934638977, -0.2368309050798416, -0.12213119864463806, 0.17246225476264954, -0.26353737711906433, 0.19486498832702637, 0.6827346086502075], [-0.04170753061771393, -0.1477700173854828, -0.09980383515357971, 0.04089990630745888, 0.12841683626174927, -0.3465106189250946, -0.05888016149401665, -0.37329137325286865, 0.09541952610015869, -0.18322348594665527, -0.13707540929317474, 0.1123664379119873, 0.01366456225514412, 0.07366801053285599, 0.03476785868406296, 0.05522647872567177, 0.10123106092214584, -0.015548118390142918, -0.19817814230918884, 0.27161407470703125, -0.1675337702035904, -0.2719382345676422, -0.03209426999092102, 0.6262791156768799], [-0.05465404689311981, 0.2078981101512909, -0.046307891607284546, 0.0700625628232956, -0.05507460609078407, -0.1076030358672142, -0.04533917084336281, -0.03504201024770737, -0.09250175952911377, 0.08061139285564423, -0.11970502883195877, 0.1776784509420395, 0.07059754431247711, 0.08471807837486267, -0.1431339979171753, 0.13907282054424286, -0.03301939740777016, -0.004550909623503685, -0.0321345329284668, 0.05214463546872139, 0.10049855709075928, 0.17081864178180695, -0.03764374926686287, 0.1201404258608818], [0.12713100016117096, -0.43135783076286316, 0.10500254482030869, -0.262869268655777, 0.2691040337085724, 0.0953625962138176, 0.2426213175058365, 0.05055992677807808, -0.10714751482009888, -0.0706733837723732, 0.14561520516872406, 0.25866687297821045, 0.23321227729320526, -0.3356882929801941, 0.3179152309894562, -0.261047899723053, 0.15421007573604584, -0.06304150074720383, 0.20403160154819489, -0.3284670412540436, 0.06555301696062088, -0.2308158129453659, -0.386934757232666, -0.19721652567386627], [-0.06988000869750977, 0.3143220841884613, 0.18713267147541046, -0.1613595336675644, -0.05839964374899864, 0.047437842935323715, -0.2186872810125351, 0.2745617926120758, 0.16814137995243073, 0.08848492801189423, -0.29884085059165955, 0.04134540632367134, -0.1681489646434784, 0.26650315523147583, 0.02729794941842556, 0.08648272603750229, 0.043535951524972916, -0.07813430577516556, 0.003910690080374479, -0.32117176055908203, -0.2738329768180847, -0.2892076075077057, -0.13512514531612396, 0.15262018144130707], [-0.1400839239358902, 0.08410801738500595, -0.3120250105857849, -0.15111970901489258, 0.2695518732070923, 0.09796958416700363, 0.4087827503681183, 0.3022252023220062, 0.0008379272767342627, -0.30838802456855774, -0.01232444029301405, -0.14472445845603943, -0.27387088537216187, 0.04694134742021561, -0.39239776134490967, -0.08647029101848602, 0.21825990080833435, 0.08271757513284683, -0.12781734764575958, -0.018574152141809464, 0.024689050391316414, 0.2048627734184265, -0.17832720279693604, 0.38208895921707153], [0.10947462916374207, -0.055605608969926834, -0.06929031759500504, 0.21230000257492065, -0.18771784007549286, -0.18348054587841034, -0.2020873874425888, -0.0033681553322821856, 0.12675242125988007, 0.36911502480506897, -0.21385926008224487, 0.004931324627250433, -0.07534101605415344, 0.14042554795742035, 0.09199933707714081, 0.31222838163375854, 0.4920080006122589, 0.0610598623752594, 0.06685870885848999, -0.2001360058784485, -0.023076757788658142, 0.03153694048523903, -0.21406370401382446, -0.718543291091919], [0.06544604897499084, 0.20761220157146454, -0.09615568816661835, 0.13067471981048584, -0.09481047093868256, 0.1281752586364746, 0.023740528151392937, 0.08827480673789978, 0.055728472769260406, -0.08870453387498856, -0.15796315670013428, -0.08902191370725632, 0.25455304980278015, 0.025682197883725166, -0.19868159294128418, -0.022498242557048798, 0.05900339409708977, 0.01001834962517023, -0.05715525150299072, 0.10677795857191086, -0.18365900218486786, -0.20403775572776794, 0.06586053967475891, -0.8841589093208313], [-0.10072818398475647, 0.022556418552994728, -0.24656865000724792, 0.18502917885780334, 0.13481773436069489, -0.14801549911499023, 0.22516030073165894, 0.17216837406158447, -0.06471589207649231, 0.2814437747001648, -0.09471790492534637, -0.11580882221460342, -0.18933813273906708, 0.19622524082660675, 0.23984341323375702, 0.09290726482868195, 0.25746896862983704, -0.25423407554626465, 0.14115415513515472, 0.16716304421424866, -0.15413007140159607, 0.0578487403690815, 0.07238432765007019, 0.21440958976745605], [-0.10244817286729813, -0.06538423895835876, -0.09871426969766617, -0.09540048986673355, 0.20302100479602814, 0.22275692224502563, -0.2444448173046112, -0.14445233345031738, -0.03167867287993431, 0.26052162051200867, -0.17761650681495667, 0.1048860177397728, -0.018288064748048782, -0.14645473659038544, 0.20974506437778473, -0.12169711291790009, -0.07411826401948929, 0.13817980885505676, 0.275173544883728, -0.05532102286815643, -0.2813894748687744, 0.09804243594408035, 0.3572266697883606, 0.5450061559677124]], "biases": [-0.1528698354959488, -0.4299424886703491, -0.12076475471258163, 0.10876373201608658, 0.4063337743282318, 0.27136626839637756, -0.13898137211799622, 0.09028217941522598, 0.15515050292015076, -0.12257201969623566, 0.07073798775672913, -0.010329007171094418, -0.26241180300712585, -0.08060956001281738, -0.15673407912254333, 0.3501475751399994, 0.04691484197974205, -1.5233851671218872, 0.047332704067230225, -0.36971810460090637, 1.1620584726333618, 0.28624236583709717, 0.11218128353357315, -0.22441503405570984]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.05709563195705414, -0.1401359885931015, -0.24369603395462036, 0.23651860654354095, 0.023667892441153526, 0.1257152557373047, -0.12744808197021484, -0.21448704600334167, -0.17100396752357483, 0.12251577526330948, -0.07835745811462402, -0.07905525714159012, 0.2795773446559906, 0.0342477411031723, 0.402732253074646, 0.06829506903886795, -0.018965547904372215, -0.030017120763659477, 0.0953502506017685, 0.05531074106693268, -0.15922392904758453, -0.3174511194229126, -0.09537459164857864, 0.2616118788719177], [0.013136129826307297, -0.21180877089500427, -0.22167395055294037, -0.08621250838041306, 0.08219198882579803, 0.1307985931634903, 0.015894373878836632, -0.2913356423377991, -0.14241616427898407, -0.13662303984165192, -0.02201908454298973, 0.0806250125169754, 0.4588678479194641, 0.2344575971364975, 0.26622632145881653, -0.04364253580570221, 0.2759377360343933, -0.03318670764565468, 0.09981264173984528, 0.06733797490596771, -0.2037724405527115, -0.4928601086139679, 0.13805565237998962, 0.22147272527217865], [0.04988030716776848, -0.2108340561389923, -0.27591192722320557, 0.07541941851377487, 0.11210980266332626, 0.14979420602321625, -0.15288330614566803, 0.0348956435918808, -0.13001905381679535, 0.17381888628005981, -0.19673873484134674, -0.1727835237979889, 0.3292704224586487, 0.08039630949497223, 0.25317636132240295, 0.12104600667953491, -0.015547200106084347, -0.018784482032060623, 0.11389762908220291, 0.05202517658472061, -0.25416699051856995, -0.4220932424068451, 0.023623395711183548, 0.16115999221801758], [0.019786227494478226, -0.2926664352416992, -0.25899258255958557, 0.09811236709356308, 0.14184874296188354, -0.01020777691155672, -0.021290728822350502, 0.04821276292204857, -0.43808266520500183, 0.024330047890543938, -0.11659257113933563, -0.05562623590230942, 0.2061193883419037, 0.21643231809139252, 0.18748638033866882, 0.04940825328230858, 0.1612558662891388, 0.05360635370016098, -0.03209986537694931, 0.1005517840385437, -0.26448583602905273, -0.18450674414634705, -0.018917163833975792, 0.3835102617740631], [0.045633140951395035, -0.3804331123828888, -0.34123608469963074, -0.05663969740271568, 0.1608896255493164, -0.06686881184577942, -0.11080960184335709, 0.052696019411087036, -0.422069787979126, 0.3292996287345886, 0.005145758390426636, -0.10471589118242264, 0.27688995003700256, -0.07332617044448853, 0.0771312341094017, 0.08820755779743195, -0.16567149758338928, 0.14578692615032196, -0.09305287152528763, 0.09921476989984512, -0.2886600196361542, -0.0833708792924881, 0.2982250452041626, 0.23908671736717224], [0.03424973785877228, -0.38264861702919006, -0.4030120372772217, 0.212396502494812, 0.16810017824172974, 0.10894520580768585, -0.1314229816198349, -0.1556757241487503, -0.19049617648124695, 0.2592419981956482, 0.009511561132967472, -0.011554867960512638, 0.1943189650774002, 0.2518598437309265, -0.038612544536590576, 0.07651995122432709, -0.22902904450893402, 0.16506490111351013, -0.18263719975948334, 0.17076657712459564, -0.3141900599002838, -0.2007722556591034, -0.15985164046287537, 0.10086293518543243], [-0.03613762557506561, -0.1235869899392128, -0.4070802330970764, -0.13028161227703094, 0.044940341264009476, -0.0004306483897380531, 0.013256030157208443, 0.023760303854942322, -0.314354807138443, 0.3239871859550476, -0.1549764722585678, -0.21133440732955933, 0.2289126068353653, 0.1617421805858612, -0.1452018767595291, 0.20443375408649445, -0.19913208484649658, 0.300176203250885, -0.04173865169286728, 0.18949851393699646, -0.37977680563926697, -0.24676772952079773, 0.19979719817638397, 0.15081582963466644], [-0.14258861541748047, -0.22251051664352417, -0.46350598335266113, 0.32764923572540283, 0.01599756069481373, -0.0017242393223568797, -0.02668466977775097, -0.11872167885303497, -0.1804170161485672, 0.080995574593544, 0.057969462126493454, -0.10823877900838852, 0.06292938441038132, 0.19218720495700836, -0.03129275515675545, 0.13970354199409485, -0.04075794667005539, 0.2804490327835083, -0.08044826984405518, 0.08916303515434265, -0.44787558913230896, -0.28622889518737793, 0.012678371742367744, 0.1680343896150589], [-0.18399713933467865, -0.17822717130184174, -0.525629997253418, 0.15695719420909882, 0.05893142148852348, 0.13006219267845154, 0.18975721299648285, -0.21242567896842957, -0.1932167261838913, -0.1523120403289795, 0.06456707417964935, -0.09873568266630173, 0.15303078293800354, 0.4094589948654175, -0.032393891364336014, 0.0884329304099083, 0.0760975256562233, 0.33170828223228455, -0.22352933883666992, -0.014185171574354172, -0.5030403137207031, -0.18215389549732208, 0.12029576301574707, 0.06773977726697922], [-0.10681360960006714, -0.12949956953525543, -0.4932888448238373, -0.04789566621184349, 0.20210660994052887, 0.240005224943161, 0.014951917342841625, 0.06061524897813797, 0.05830845981836319, 0.3980000913143158, -0.15958888828754425, -0.3754674792289734, 0.1325039118528366, 0.06578714400529861, -0.12193495780229568, 0.16356956958770752, -0.21268634498119354, 0.44333985447883606, 0.01342054083943367, -0.15783202648162842, -0.5783653855323792, -0.46622177958488464, 0.30914193391799927, -0.1798037737607956], [-0.18531358242034912, -0.19848047196865082, -0.3758297860622406, 0.2764208912849426, 0.27253392338752747, 0.13783448934555054, 0.02443128265440464, -0.42616042494773865, -0.19489596784114838, -0.0798540711402893, 0.22827263176441193, 0.014953230507671833, -0.02367517352104187, 0.2897163927555084, -0.07673220336437225, -0.17060907185077667, 0.38084253668785095, 0.5142179131507874, -0.026421653106808662, -0.1746632158756256, -0.5275794863700867, -0.3162710964679718, 0.13491490483283997, 0.02746676653623581], [-0.33651289343833923, -0.08024504780769348, -0.3151797950267792, 0.09430882334709167, 0.18232525885105133, 0.023192787542939186, -0.04124719649553299, -0.19226089119911194, -0.36438822746276855, 0.4311923086643219, 0.026114849373698235, -0.2573120594024658, -0.18064746260643005, -0.010818705894052982, 0.0801410973072052, 0.05462852865457535, 0.2856856882572174, 0.4696609079837799, -0.007372325751930475, -0.1899675875902176, -0.5844053626060486, 0.03483333811163902, 0.23921449482440948, -0.027442211285233498]], "biases": [0.2453397661447525, 0.23691971600055695, 0.14403638243675232, 0.1401633471250534, 0.0968383327126503, 0.05403267964720726, 0.28638535737991333, 0.24030877649784088, 0.2533389627933502, 0.2209128439426422, 0.106861412525177, 0.12961573898792267]}}

# 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.3 0.2 0.3 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.5 2.5 2.4 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.1 9.9 9.7 9.1 8.4 7.6 6.5 6...
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.4 17.5 17.1 16.5 15.5 ...
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 -3.9 -3.8 -3.9 -4.0 -3.9 ...
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.9 12.7 12.7 12.1 11.4 10.7 ...
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.6 -1.7 -2.0 -2.1 -2.4 -2.6 ...
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 14.9 15.0 14.6 14.1 13.5 ...
Truncated