CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:qanpi
Submission time:2023-11-11 22:38:41 +0200
Language:Python3 (CPython3)
Status:READY
Result:8
Feedback
groupverdictscore
#1ACCEPTED8.13
Test results
testverdicttimescore
#1ACCEPTED0.21 s0details
#2ACCEPTED0.20 s3.38details
#3ACCEPTED0.20 s0details
#4ACCEPTED0.21 s0details
#5ACCEPTED0.20 s0details
#6ACCEPTED0.20 s0details
#7ACCEPTED0.20 s0details
#8ACCEPTED0.20 s4.75details

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.340457558631897, 0.00532884243875742, -0.07102135568857193, 0.06518274545669556, 0.22331644594669342, 0.060405977070331573, -0.36244499683380127, 0.1835048347711563, 0.20902545750141144, 0.19677819311618805, -0.33214810490608215, -0.21802842617034912, 0.2534332275390625, -0.10817103087902069, 0.012480374425649643, 0.044175393879413605, -0.09935107082128525, 0.04735294356942177, -0.3470116853713989, -0.19676519930362701, -0.1247849091887474, -0.1511429250240326, 0.030880078673362732, -0.5706827044487], [0.03772471845149994, -0.07303163409233093, -0.0799393579363823, -0.028328778222203255, 0.2606545686721802, -0.05763901397585869, 0.10029690712690353, 0.14000411331653595, 0.105549156665802, -0.1802053153514862, 0.01902640052139759, -0.08470015227794647, -0.14896859228610992, -0.09635606408119202, 0.3733506202697754, 0.19381101429462433, -0.1657673418521881, 0.20870664715766907, 0.20720651745796204, 0.010788708925247192, 0.05708512291312218, 0.1789211630821228, -0.021244507282972336, 0.5043395757675171], [0.13218453526496887, -0.15300211310386658, 0.11609333753585815, 0.15506532788276672, -0.17093099653720856, -0.09897922724485397, -0.2554931938648224, -0.0740743950009346, -0.10585440695285797, 0.3686549961566925, 0.13672000169754028, -0.05699676647782326, -0.12686482071876526, -0.13436640799045563, 0.1450348049402237, 0.13900290429592133, -0.19051533937454224, 0.2924145460128784, -0.02376081980764866, -0.13052715361118317, 0.3112965524196625, -0.13368035852909088, -0.1612473726272583, -0.6574466228485107], [0.09149159491062164, -0.04790697991847992, 0.40265345573425293, -0.07664300501346588, -0.037876613438129425, 0.059494748711586, -0.23620525002479553, 0.30045992136001587, -0.2282271832227707, 0.18398433923721313, -0.3011377155780792, -0.011965550482273102, 0.018986936658620834, -0.03535293787717819, 0.13949339091777802, -0.297360897064209, -0.25303056836128235, 0.2616437077522278, 0.1778455674648285, 0.050749436020851135, -0.1057204008102417, -0.23886454105377197, 0.1620812863111496, -0.7232290506362915], [0.1395406275987625, -0.1569756418466568, 0.21908098459243774, -0.026744354516267776, 0.09249117225408554, 0.02521122805774212, -0.13331209123134613, 0.20672740042209625, -0.11681205779314041, 0.1300112009048462, 0.11563357710838318, -0.06543945521116257, -0.16642282903194427, 0.002621556632220745, -0.23548102378845215, 0.17098911106586456, 0.048662219196558, 0.032501719892024994, -0.1533355712890625, -0.14514043927192688, 0.2753814458847046, 0.03522823378443718, 0.2550446391105652, 0.6485089063644409], [-0.28158167004585266, 0.3064558804035187, 0.10835067182779312, -0.007860176265239716, -0.0958675965666771, -0.3256824314594269, -0.167713463306427, 0.16886821389198303, 0.03447757288813591, -0.18520121276378632, 0.15159966051578522, -0.004187590908259153, 0.3523963987827301, 0.24845020473003387, 0.1310206800699234, 0.24186421930789948, 0.10543638467788696, -0.17543183267116547, -0.4450265169143677, -0.03016713261604309, -0.23056119680404663, 0.28288954496383667, 0.09961336106061935, -0.3978656530380249], [0.11139319837093353, -0.025947576388716698, -0.2582646310329437, -0.42463675141334534, 0.28991463780403137, 0.17595335841178894, 0.20096296072006226, 0.03388907015323639, 0.34814876317977905, -0.13688348233699799, -0.24778670072555542, -0.22948433458805084, 0.03377092629671097, -0.037032369524240494, 0.14105714857578278, -0.08043026924133301, 0.14819443225860596, -0.13295604288578033, -0.009748801589012146, 0.03857938572764397, 0.2813013792037964, 0.38247790932655334, -0.0862293541431427, -0.7813370823860168], [0.04610053822398186, 0.27426210045814514, -0.3273082971572876, -0.1039455458521843, -0.19721059501171112, -0.14313890039920807, 0.03513883426785469, -0.15732699632644653, -0.23513178527355194, 0.08930005878210068, 0.33293965458869934, 0.2631687819957733, 0.2028944343328476, 0.10847385972738266, -0.47532472014427185, 0.0031277553644031286, 0.45818451046943665, -0.013412314467132092, 0.11668995767831802, 0.2291320264339447, -0.16779440641403198, -0.19829070568084717, -0.22360128164291382, -0.6103777289390564], [-0.1270456612110138, -0.397856742143631, -0.33742135763168335, 0.08909016847610474, 0.20576390624046326, -0.34963855147361755, 0.1288503110408783, 0.09664133191108704, -0.07714539766311646, 0.11696746945381165, 0.429797500371933, 0.0188932903110981, -0.09428056329488754, 0.07131850719451904, 0.31075355410575867, 0.11890154331922531, -0.017646608874201775, -0.08796094357967377, -0.1516878455877304, -0.13296012580394745, -0.33073750138282776, 0.15995576977729797, -0.4043017625808716, 0.2090560495853424], [-0.28615668416023254, -0.20160360634326935, 0.20556402206420898, -0.23720434308052063, 0.21546407043933868, 0.03002253547310829, 0.21163704991340637, -0.018743252381682396, 0.16926462948322296, 0.2605739235877991, -0.19266565144062042, 0.3092999756336212, 0.2384163737297058, 0.20139752328395844, 0.05724049732089043, -0.23544402420520782, 0.35338619351387024, -0.1572130024433136, 0.07700362056493759, -0.2561069130897522, 0.13801980018615723, -0.35995933413505554, -0.3308351933956146, 0.1673707515001297], [0.26555317640304565, 0.1777081936597824, -0.10750312358140945, 0.18312321603298187, 0.16771875321865082, -0.16515405476093292, -0.3650082051753998, -0.31754815578460693, -0.06372754275798798, -0.018035905435681343, -0.11733733862638474, -0.19217878580093384, -0.13668738305568695, 0.14767621457576752, 0.23692002892494202, 0.09732986241579056, 0.02236822433769703, -0.4609137773513794, 0.2021501064300537, 0.07310457527637482, -0.10618024319410324, 0.1189863309264183, 0.1590937077999115, -0.47234904766082764], [-0.11860508471727371, 0.05353002995252609, -0.23013827204704285, 0.13114629685878754, -0.33926889300346375, -0.057645030319690704, 0.02480100654065609, 0.10183089971542358, -0.04190506413578987, 0.17973214387893677, -0.054425086826086044, -0.03741033747792244, 0.33889633417129517, 0.0058591836132109165, -0.09711075574159622, 0.19915582239627838, 0.1583928018808365, -0.006774368695914745, 0.06501652300357819, 0.2740590274333954, -0.11868079006671906, -0.07670783251523972, 0.09019459038972855, 0.7088109254837036], [0.1438058465719223, -0.2453567236661911, 0.17367209494113922, -0.18188343942165375, 0.27840113639831543, 0.23226122558116913, 0.28248339891433716, 0.16991591453552246, -0.3372761309146881, 0.386186808347702, -0.3684324026107788, -0.07225847989320755, 0.179569274187088, -0.30311769247055054, -0.07068227976560593, 0.1157417818903923, 0.1225854679942131, 0.31668001413345337, 0.16772176325321198, -0.07915721088647842, 0.01404157280921936, -0.1867937296628952, -0.12425223737955093, -0.13686244189739227], [-0.33790940046310425, 0.11747647076845169, -0.30476728081703186, -0.12617512047290802, 0.227489173412323, 0.1301548033952713, -0.3427644371986389, -0.32500597834587097, 0.07140251249074936, 0.24083100259304047, -0.1005270928144455, 0.21211190521717072, 0.10738586634397507, 0.2795131802558899, 0.26931285858154297, -0.11183612793684006, 0.0823904350399971, -0.2579478919506073, -0.20120692253112793, -0.27075690031051636, -0.09793847799301147, 0.26626431941986084, -0.3369201421737671, -0.5182105302810669], [0.32393380999565125, 0.07641218602657318, 0.013369983062148094, 0.29303377866744995, -0.15823790431022644, -0.2192143350839615, -0.1698276400566101, -0.2928524613380432, -0.14574766159057617, 0.06550545990467072, -0.21293891966342926, 0.1341419667005539, 0.3708306550979614, 0.11640111356973648, 0.2791331708431244, 0.10344356298446655, -0.059989478439092636, -0.32913777232170105, -0.02060008980333805, -0.25961562991142273, 0.216343492269516, -0.20169593393802643, 0.1834663450717926, 0.11674927920103073], [-0.06546764075756073, 0.037656255066394806, -0.12530939280986786, 0.1580493003129959, -0.009530914016067982, 0.23924259841442108, 0.13080891966819763, -0.0854831114411354, -0.08819829672574997, -0.07557712495326996, -0.044459789991378784, -0.04108108952641487, 0.16293172538280487, -0.16578030586242676, -0.05704784765839577, -0.07125595957040787, 0.22417694330215454, 0.08952035009860992, -0.11269553005695343, 0.058332283049821854, -0.3257090151309967, 0.009210414253175259, -0.22960077226161957, 0.7018089890480042], [-0.1540450155735016, -0.11864544451236725, 0.2330392599105835, -0.06274978816509247, 0.1883663386106491, 0.22201062738895416, 0.22913913428783417, 0.08285502344369888, -0.0710664838552475, 0.04184911772608757, 0.20849260687828064, -0.19831594824790955, -0.23510177433490753, -0.055073365569114685, -0.060859665274620056, -0.29597151279449463, -0.319549024105072, -0.1550082415342331, 0.06714984774589539, 0.07665416598320007, -0.03558328002691269, -0.26635050773620605, 0.33202022314071655, 0.5557155013084412], [-0.17569896578788757, -0.09335533529520035, 0.2899579405784607, -0.027773918583989143, 0.27963417768478394, 0.18533410131931305, 0.36308741569519043, 0.05815783143043518, 0.014112106524407864, 0.2581573724746704, -0.019636115059256554, -0.30244508385658264, 0.20718266069889069, 0.1583591252565384, 0.1982814222574234, 0.042453523725271225, -0.09777272492647171, 0.12181995809078217, -0.49000829458236694, -0.3614560067653656, 0.28981631994247437, -0.03984309360384941, 0.1359998732805252, -0.39302852749824524], [-0.2217741757631302, 0.12322648614645004, 0.22659578919410706, 0.0279493797570467, -0.3271685540676117, -0.013103577308356762, 0.3069698214530945, 0.09775380045175552, 0.07669898867607117, -0.21800974011421204, 0.21361593902111053, -0.1847633272409439, 0.04818415641784668, -0.13963088393211365, -0.364968866109848, 0.22493179142475128, 0.028325911611318588, 0.1259697526693344, -0.09119593352079391, 0.07935798913240433, 0.14500267803668976, -0.07725606858730316, -0.21372291445732117, -0.8560964465141296], [-0.1162073016166687, -0.24380117654800415, -0.11546425521373749, -0.21290963888168335, -0.20186929404735565, 0.40726426243782043, 0.273377925157547, 0.307040274143219, -0.1279488503932953, 0.41098177433013916, -0.04387061670422554, -0.011047402396798134, 0.2924681007862091, -0.07090099900960922, -0.347108393907547, -0.16051119565963745, 0.2918875515460968, 0.23329591751098633, -0.1792377382516861, -0.2631034553050995, -0.4726768732070923, -0.1796562671661377, -0.04000718519091606, 0.12214910238981247], [-0.009121768176555634, 0.019361911341547966, -0.0360032320022583, 0.12553231418132782, -0.4505314528942108, -0.2966965138912201, -0.319087415933609, -0.18492375314235687, 0.12970736622810364, 0.2811761200428009, -0.1783822476863861, -0.09651250392198563, -0.23053939640522003, 0.31283727288246155, 0.00599627336487174, -0.19451521337032318, 0.05731270834803581, 0.38190871477127075, -0.006781622767448425, 0.30121681094169617, 0.31775936484336853, -0.34130746126174927, -0.12174293398857117, 0.043575312942266464], [0.17378512024879456, -0.11322719603776932, 0.048860397189855576, -0.11295899003744125, -0.07946325838565826, -0.2884216010570526, -0.015611786395311356, -0.037832263857126236, 0.27874478697776794, 0.32176902890205383, -0.15349502861499786, -0.08122702687978745, -0.19565777480602264, -0.21022535860538483, 0.15898755192756653, -0.1173386350274086, 0.4835970401763916, 0.2770248353481293, 0.3686681389808655, -0.011928974650800228, -0.1330471783876419, 0.058461807668209076, -0.013275982812047005, -0.727753758430481], [0.002958131255581975, 0.07492019236087799, -0.18284720182418823, 0.03823064640164375, -0.004494768101722002, 0.2591395378112793, -0.0018954809056594968, -0.20452262461185455, 0.17531630396842957, -0.06554854661226273, 0.097206249833107, 0.13406342267990112, -0.2669928967952728, -0.09502565115690231, 0.08678203076124191, 0.09732545167207718, 0.16226612031459808, -0.0866394117474556, 0.28621089458465576, 0.3043408691883087, -0.06519241631031036, -0.12665626406669617, 0.1848905384540558, -0.47370216250419617], [0.02535982057452202, -0.1886546015739441, 0.10026931762695312, 0.31748294830322266, 0.38674262166023254, 0.1112692728638649, 0.28636544942855835, -0.12415201216936111, -0.3385956585407257, -0.3502833843231201, -0.17488935589790344, 0.1831258088350296, -0.21580161154270172, 0.16831134259700775, 0.004397421609610319, -0.273326575756073, 0.26303812861442566, -0.006049612537026405, 0.24705952405929565, 0.24194854497909546, -0.31436872482299805, -0.17112113535404205, -0.10290098935365677, 0.258575439453125]], "biases": [0.07760190218687057, 0.09170032292604446, 0.14557819068431854, 0.52774977684021, -0.43994978070259094, 0.7137854099273682, 0.6803082823753357, -1.1818747520446777, -1.477604627609253, 0.46978092193603516, 0.29547059535980225, 0.2733299136161804, 0.5022951364517212, 0.1818506419658661, -0.6263983845710754, -0.9454489946365356, -0.8873916268348694, 0.3262849748134613, -0.09467025101184845, -1.0747817754745483, 0.19720928370952606, 0.6655173897743225, 1.514479637145996, -0.32007744908332825]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.39683863520622253, -0.0021093348041176796, 0.16875655949115753, 0.03277071565389633, -0.1936301440000534, -0.16886107623577118, -1.0867875814437866, 0.3714504837989807, -0.17393407225608826, 0.04227685183286667, -0.07044000923633575, 0.11838574707508087, -0.038923975080251694, -0.22919459640979767, -0.32496535778045654, -0.2236611396074295, -0.6960697174072266, 0.3162041902542114, -0.30772024393081665, -0.1451902538537979, -0.38869884610176086, -0.4933978319168091, 0.3486310839653015, -0.1365004926919937], [0.20899620652198792, 0.13231229782104492, -0.24610324203968048, -0.09980471432209015, 0.21138183772563934, -0.013251371681690216, -0.13988810777664185, -0.019706612452864647, -0.03777611628174782, 0.0717630460858345, 0.027634939178824425, 0.04796998202800751, -0.23530490696430206, 0.0660066306591034, 0.2196531891822815, -0.001439455314539373, -0.11759642511606216, 0.020022990182042122, -0.059474196285009384, -0.0708877220749855, 0.005056816153228283, 0.481909841299057, -0.07272610068321228, 0.024776622653007507], [0.10919027775526047, 0.3363094925880432, -0.07398933917284012, 0.01266825757920742, 0.22317950427532196, -0.12160930782556534, 0.11968062818050385, -0.14306963980197906, -0.09768793731927872, 0.15563258528709412, 0.14017179608345032, 0.43326541781425476, -0.17368194460868835, -0.16610974073410034, -0.03567304089665413, 0.25095367431640625, 0.06333227455615997, -0.018192745745182037, -0.22467000782489777, 0.15334945917129517, 0.2500235140323639, -0.1435093730688095, -0.08783998340368271, 0.1978333294391632], [0.37164372205734253, -0.1759088933467865, 0.10135312378406525, 0.292186975479126, -0.32048776745796204, 0.4556443691253662, 0.49585625529289246, 0.1574067771434784, -0.03138703107833862, 0.20569270849227905, 0.24187524616718292, 0.2770642936229706, -0.6765590310096741, 0.32868900895118713, 0.2170967310667038, 0.34880995750427246, 0.1819591075181961, 0.5930807590484619, 0.31344541907310486, -0.3238220810890198, 0.18226352334022522, 0.9147698283195496, -0.32288438081741333, 0.032267797738313675], [-0.029687365517020226, 0.2570202648639679, 0.2315939962863922, 0.05476425588130951, 0.0032984635327011347, -0.011046634055674076, 0.1725478321313858, 0.05527804419398308, 0.13666623830795288, 0.07714233547449112, 0.014086580835282803, -0.041797272861003876, -0.13709746301174164, -0.06629209220409393, 0.054762568324804306, 0.2313295304775238, 0.16797834634780884, -0.03878382220864296, 0.00630554324015975, -0.049751851707696915, -0.044590242207050323, -0.2726265490055084, 0.06886803358793259, -0.007054546847939491], [-0.05609758198261261, -0.11756520718336105, -0.19714608788490295, 0.04087040573358536, -0.190198615193367, -0.4729740619659424, -0.39835989475250244, 0.06697487086057663, -0.31216344237327576, 0.22784604132175446, -0.36366844177246094, 0.42904528975486755, -0.0785050317645073, 0.27350518107414246, 0.0689036026597023, -0.5286518931388855, 0.3689061403274536, -0.17625270783901215, -0.1499907225370407, -0.943317711353302, -0.08087662607431412, 0.0431876964867115, -0.28233835101127625, -0.4134281277656555], [0.3782992959022522, -0.10206050425767899, -0.28740227222442627, 0.05394652858376503, 0.2939137816429138, 0.46438804268836975, 0.13555333018302917, -0.5315802097320557, -0.30738508701324463, -0.1472480595111847, 0.12580019235610962, -0.021936699748039246, -0.14364668726921082, 0.0705891028046608, 0.11903515458106995, 0.3929878771305084, 0.09719815850257874, -0.1258149892091751, -0.005052370019257069, -0.4125852584838867, -0.42797979712486267, 0.26322808861732483, -0.3336196839809418, 0.03170351684093475], [0.08357083052396774, 0.03909432515501976, 0.23144139349460602, -0.13552165031433105, 0.033379241824150085, 0.20750541985034943, -0.26796892285346985, -0.09772726893424988, 0.004777699243277311, -0.10468436032533646, 0.01283832173794508, -0.012065338902175426, 0.15247578918933868, -0.023941902443766594, 0.052636049687862396, 0.164899080991745, 0.46004822850227356, -0.08085066080093384, -0.0583459697663784, -0.22524341940879822, 0.046743787825107574, 0.10523156076669693, -0.07188516110181808, 0.04134418070316315], [-0.43456321954727173, -0.503470242023468, -0.1506115347146988, -0.2456071823835373, 0.03629520907998085, 0.2853722870349884, -0.36801475286483765, 0.42301857471466064, -0.4844987094402313, 0.014269553124904633, -0.5853661894798279, -0.21817737817764282, -0.45249640941619873, 0.21640951931476593, 0.23120740056037903, 0.3214476406574249, 0.17869986593723297, 0.21029599010944366, -0.04289644584059715, 0.18959848582744598, 0.18065513670444489, -0.17375032603740692, -0.4264346659183502, -0.7922477722167969], [0.1544031798839569, 0.2599685490131378, 0.019473835825920105, -0.12413181364536285, 0.030403215438127518, -0.06356126070022583, -0.024996625259518623, 0.26200559735298157, 0.03017781861126423, 0.04293552786111832, 0.018556201830506325, 0.07687516510486603, 0.10999065637588501, -0.20573294162750244, 0.011254201643168926, 0.0737324059009552, 0.16404925286769867, -0.08705437928438187, 0.13199429214000702, 0.0017536665545776486, -0.012879913672804832, -0.20461991429328918, -0.059658586978912354, 0.15628884732723236], [-0.12105013430118561, 0.1345566213130951, 0.2711928188800812, 0.2829459607601166, -0.03958608955144882, -0.03816201165318489, 0.27379029989242554, 0.044252909719944, 0.3121747672557831, 0.09026962518692017, 0.12246349453926086, -0.12032905220985413, 0.08375531435012817, -0.11298170685768127, -0.011356519535183907, 0.21762724220752716, 0.0007230084738694131, 0.014312462881207466, 0.16172976791858673, -0.01612362265586853, -0.055590029805898666, -0.5621894001960754, 0.13670726120471954, -0.16621865332126617], [-0.04288240522146225, -0.12339886277914047, 0.08835164457559586, 0.041574038565158844, 0.1929347813129425, -0.34324419498443604, -0.3074430525302887, -0.08640344440937042, -0.04981169477105141, 0.21032926440238953, 0.3596038222312927, 0.3897048234939575, -0.005799939390271902, -0.2503126859664917, 0.10813747346401215, -0.07398409396409988, 0.059527285397052765, 0.06630034744739532, -0.17074443399906158, 0.3980749249458313, 0.3712233603000641, -0.6365674138069153, 0.002426979597657919, -0.24022920429706573], [0.1394004374742508, -0.07890632003545761, 0.19828614592552185, -0.05998843163251877, 0.0069006760604679585, 0.29511189460754395, -0.20357225835323334, -0.05076785758137703, -0.19140253961086273, -0.07579319179058075, 0.02218516729772091, 0.11727437376976013, -0.03121398389339447, 0.06974136829376221, 0.05249673128128052, 0.10602795332670212, 0.42774760723114014, -0.03798442333936691, -0.2500351667404175, -0.11514919996261597, 0.16653811931610107, 0.3538878858089447, -0.1522960513830185, 0.005410199984908104], [-0.016128212213516235, 0.0717478021979332, -0.5495414137840271, -0.08609402179718018, 0.2200269252061844, -0.0515005886554718, 0.18954305350780487, 0.4529886841773987, -0.09212556481361389, 0.02860223688185215, 0.011386323720216751, -0.0552840419113636, 0.025081442669034004, -0.025246944278478622, 0.257411390542984, 0.04568566009402275, 0.017373675480484962, -0.013814768753945827, -0.10821738839149475, 0.1374622881412506, -0.057980820536613464, -0.07616432011127472, 0.07868608087301254, -0.07721365988254547], [0.006367881782352924, 0.3020079433917999, -0.06207624450325966, 0.07500898092985153, 0.0722208246588707, -0.04869123175740242, 0.03685576841235161, -0.11924141645431519, 0.038843076676130295, 0.1237439215183258, 0.20128804445266724, 0.2976957857608795, -0.1274033933877945, -0.2037641555070877, -0.0600842610001564, 0.3244739770889282, 0.04339020326733589, -0.005678705871105194, -0.15659208595752716, 0.11545812338590622, 0.24994365870952606, -0.3164231479167938, -0.0878138542175293, -0.06121743470430374], [0.22148454189300537, -0.33685043454170227, 0.218465194106102, -0.0663713812828064, -0.34821048378944397, 0.16314545273780823, 0.38217467069625854, 0.20161592960357666, -0.15680965781211853, -0.2107674777507782, 0.08139587193727493, -0.11241836100816727, -0.3675542175769806, 0.030273599550127983, 0.09985791891813278, 0.34383249282836914, 0.13693085312843323, 0.16617101430892944, 0.09274419397115707, 0.07309722900390625, -0.019912514835596085, 0.21569012105464935, -0.16171985864639282, 0.275023877620697], [0.003893566085025668, 0.07776609063148499, 0.03707600757479668, 0.30568379163742065, 0.2138673961162567, 0.03856629878282547, -0.10403216630220413, -0.3838687241077423, 0.09709643572568893, 0.08658771216869354, 0.22637562453746796, 0.41933634877204895, 0.18112793564796448, -0.2275337278842926, -0.18817704916000366, 0.16416887938976288, -0.12423504889011383, 0.017280858010053635, -0.30548325181007385, 0.2022010236978531, 0.3302357792854309, -0.30151352286338806, -0.18171636760234833, -0.00834641419351101], [-0.48408666253089905, -0.04804040864109993, 0.04258379712700844, -0.31210604310035706, -0.05612859129905701, -0.4682728946208954, 0.2151855230331421, 0.060802094638347626, -0.13479644060134888, 0.14895986020565033, -0.324221670627594, -0.3113601505756378, -0.09779183566570282, -0.080524742603302, -0.11806096881628036, -0.5781519412994385, -0.08539336919784546, 0.1901710480451584, -0.17286963760852814, -0.41034480929374695, -0.3804951310157776, -0.5519238710403442, 0.06799253076314926, -0.42295509576797485]], "biases": [-0.42139825224876404, 0.24438369274139404, 0.1424848586320877, 0.36574405431747437, -0.16384805738925934, -0.17870090901851654, 0.08166753500699997, -0.12030565738677979, 0.8188859224319458, -0.48702794313430786, -0.11208003759384155, 0.6166406273841858, 0.35263267159461975, 0.24158869683742523, 0.4046478271484375, 0.382780522108078, 0.33248940110206604, -0.27328160405158997]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.10759041458368301, 0.12065350264310837, 0.14459644258022308, -0.27728116512298584, 0.10601599514484406, 0.01485200971364975, 0.025886790826916695, 0.2074100375175476, 0.2663353681564331, -0.2687879800796509, -0.2534902095794678, -0.09568988531827927, 0.15947437286376953, 0.4486318528652191, 0.3369147777557373, -0.06785635650157928, 0.16546078026294708, -0.36121198534965515], [-0.22335301339626312, 0.27496272325515747, 0.32680967450141907, -0.22071415185928345, -0.09089293330907822, -0.10773318260908127, 0.03644706308841705, 0.2513006627559662, 0.3247917890548706, 0.059662479907274246, -0.04548329859972, 0.12941992282867432, 0.07324206084012985, 0.048055555671453476, 0.1594136655330658, -0.3175908625125885, -0.1375594139099121, -0.27957746386528015], [-0.3360736072063446, 0.032202742993831635, 0.1699109971523285, -0.21854832768440247, -0.12859036028385162, -0.10158687829971313, 0.04019060358405113, 0.06048623472452164, 0.3193463683128357, 0.2518063187599182, -0.09201482683420181, 0.09972623735666275, 0.18417485058307648, 0.31274110078811646, 0.24150899052619934, -0.30561426281929016, -0.028756514191627502, 0.22715695202350616], [-0.3699387013912201, 0.27760323882102966, 0.06769810616970062, -0.22035102546215057, 0.39766833186149597, -0.13012009859085083, -0.04926614090800285, 0.29583361744880676, 0.3727765381336212, 0.16717910766601562, -0.1919909417629242, 0.15445075929164886, -0.04528273642063141, -0.09111093729734421, -0.09411852806806564, -0.33557289838790894, 0.27700912952423096, -0.060470353811979294], [-0.4159020483493805, -0.14516489207744598, 0.3869517147541046, -0.17403261363506317, -0.3320247232913971, -0.2105722576379776, -0.0773598775267601, 0.13594293594360352, 0.42918020486831665, 0.30676206946372986, 0.019938047975301743, 0.10353707522153854, 0.05023380368947983, 0.09061480313539505, 0.28326281905174255, -0.44225260615348816, -0.18698762357234955, -0.27774515748023987], [-0.4339107871055603, -0.06308282911777496, 0.47889500856399536, -0.3488781154155731, 0.0055683027021586895, -0.3444601893424988, -0.20637008547782898, -0.027870820835232735, 0.6697468757629395, -0.030433332547545433, 0.17808307707309723, -0.077860526740551, 0.31593140959739685, 0.06249421462416649, -0.24566097557544708, -0.11904123425483704, 0.3732343912124634, -0.23399212956428528], [-0.5972204208374023, -0.27178382873535156, 0.029435353353619576, -0.18792535364627838, 0.3279257118701935, -0.38444679975509644, -0.2158413976430893, -0.1493760198354721, 0.7268133163452148, 0.32072341442108154, -0.20929649472236633, 0.04880193620920181, 0.05612559616565704, 0.15293966233730316, 0.10484134405851364, -0.35408568382263184, 0.39959612488746643, -0.38459232449531555], [-0.5500321984291077, -0.12046290934085846, 0.10495904833078384, -0.33286893367767334, -0.2871445417404175, -0.5326076149940491, -0.31316041946411133, 0.17904816567897797, 0.9139485955238342, -0.12839065492153168, 0.09523235261440277, -0.08291604369878769, -0.029699554666876793, 0.31997328996658325, 0.4894413352012634, 0.0026597282849252224, 0.2863229811191559, 0.31051743030548096], [-0.627022922039032, 0.14570598304271698, -0.0881677195429802, -0.2830180823802948, 0.060581304132938385, -0.6037477850914001, -0.3667265474796295, 0.21756495535373688, 0.9700646996498108, -0.012833874672651291, 0.010522842407226562, 0.10582254827022552, -0.21365824341773987, 0.04432762414216995, 0.47975972294807434, -0.12241443991661072, 0.2275983989238739, 0.4153343141078949], [-0.6848868131637573, -0.13597813248634338, 0.4682067036628723, -0.22236552834510803, 0.2615894079208374, -0.6783376932144165, -0.32782554626464844, 0.05780421197414398, 1.000612735748291, -0.23160676658153534, -0.13023123145103455, 0.3218797743320465, -0.26867952942848206, 0.05962422862648964, -0.17968083918094635, -0.19260959327220917, 0.16849830746650696, -0.14731523394584656], [-0.6509376764297485, 0.06504516303539276, -0.04724527522921562, -0.32986244559288025, 0.32230672240257263, -0.7224503755569458, -0.38580548763275146, -0.38140669465065, 0.9846578240394592, 0.2014511525630951, 0.008576078340411186, 0.19030719995498657, 0.15309539437294006, 0.21186724305152893, 0.11504936963319778, -0.044880203902721405, 0.30110299587249756, 0.3950342535972595], [-0.7092591524124146, 0.16133065521717072, 0.4367612600326538, -0.26011279225349426, -0.3370324671268463, -0.7751771807670593, -0.36654770374298096, -0.27006834745407104, 1.0654045343399048, 0.36481600999832153, 0.31131061911582947, 0.364542692899704, 0.028559038415551186, -0.12254302203655243, 0.024113226681947708, -0.2841590940952301, -0.22353631258010864, -0.35001352429389954]], "biases": [0.15008321404457092, 0.3378544747829437, 0.23048558831214905, 0.31521156430244446, 0.14947283267974854, -0.07520365715026855, -0.027841079980134964, -0.36375492811203003, -0.26804155111312866, -0.36020711064338684, -0.44079843163490295, -0.41635265946388245]}}

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)

maximum = 0
minimum = 0

for row in data: 
    for item in row[:24]:
        maximum = max(item, maximum)
        minimum = min(item, minimum)

data = normalize(data, maximum, minimum)

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.0 -0.0 -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.9 2.8 2.7 2.6 2.4 2.3 2.3 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
11.6 11.4 10.9 10.3 9.5 8.4 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
19.7 19.3 19.3 18.8 18.1 17.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
-5.0 -4.6 -4.7 -4.6 -4.8 -4.6 ...
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
14.1 13.9 13.7 13.1 12.2 11.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
-2.3 -2.5 -2.7 -2.8 -3.6 -3.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
16.1 15.8 15.7 15.3 14.7 14.3 ...
Truncated