CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:qanpi
Submission time:2023-11-12 15:30:06 +0200
Language:Python3 (CPython3)
Status:READY
Result:59
Feedback
groupverdictscore
#1ACCEPTED59.25
Test results
testverdicttimescore
#1ACCEPTED0.19 s7.63details
#2ACCEPTED0.19 s8.38details
#3ACCEPTED0.19 s7.5details
#4ACCEPTED0.19 s7.38details
#5ACCEPTED0.19 s7.63details
#6ACCEPTED0.19 s7details
#7ACCEPTED0.19 s6.5details
#8ACCEPTED0.19 s7.25details

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.16010327637195587, -0.2608289420604706, 0.045585066080093384, -0.20935095846652985, -0.35957804322242737, -0.2710486650466919, 0.16420124471187592, -0.07919292151927948, 0.4345228374004364, 0.185911163687706, -0.15957026183605194, -0.047330014407634735, -0.3319737911224365, -0.08120272308588028, -0.4581278860569, 0.31293895840644836, 0.04412424936890602, 0.12404380738735199, 0.25256839394569397, 0.3282272517681122, 0.16760379076004028, 0.24928653240203857, -0.09271320700645447, -0.03990771621465683], [-0.3191102147102356, -0.35838451981544495, 0.10924693942070007, 0.12864366173744202, -0.2262105792760849, -0.2995878756046295, 0.10664009302854538, 0.21778808534145355, -0.08906849473714828, -0.2234245091676712, 0.10973916947841644, -0.07193361967802048, 0.1279003769159317, 0.04455309733748436, -0.16290268301963806, -0.2713744044303894, 0.3098393380641937, 0.0674021765589714, -0.15561795234680176, 0.04576347768306732, 0.27486497163772583, 0.22934192419052124, -0.18626613914966583, 0.6219337582588196], [-0.3033927381038666, -0.09529977291822433, 0.08766623586416245, 0.07458948343992233, -0.21814145147800446, -0.09866484254598618, 0.027835126966238022, 0.10296264290809631, 0.0101470360532403, 0.4129115045070648, 0.07993128895759583, -0.11685791611671448, 0.24147473275661469, 0.3087858557701111, 0.01736992597579956, 0.38113412261009216, -0.04643242433667183, 0.1928754299879074, -0.47631508111953735, -0.5771653652191162, 0.1945030689239502, 0.21655166149139404, 0.07585161924362183, -0.06501510739326477], [0.054829638451337814, 0.3122974932193756, -0.06905210763216019, -0.3497270345687866, -0.2140214592218399, -0.006812220439314842, 0.11215580254793167, -0.3554248809814453, -0.2942107319831848, -0.12064208090305328, -0.4332043528556824, 0.06641533225774765, -0.10787256807088852, 0.16134141385555267, 0.07982166111469269, 0.0273734200745821, 0.16185033321380615, 0.3817947804927826, 0.170038640499115, 0.052392274141311646, 0.15515604615211487, 0.3485011160373688, 0.3770907521247864, 0.16913697123527527], [0.046488843858242035, 0.04896336421370506, -0.1480373591184616, 0.3707650601863861, -0.22553938627243042, 0.16125644743442535, 0.016193794086575508, -0.05549778416752815, -0.18739141523838043, 0.2113606482744217, -0.07071087509393692, -0.182784765958786, -0.12443409860134125, -0.14182071387767792, -0.13891707360744476, 0.21548116207122803, -0.2464931309223175, -0.18762244284152985, 0.006363234482705593, -0.08370662480592728, 0.13396908342838287, -0.3099918067455292, -0.18383413553237915, 0.9970415830612183], [-0.10361457616090775, -0.48613622784614563, 0.299281507730484, 0.18519335985183716, 0.37305784225463867, -0.33016055822372437, -0.03221292421221733, 0.024217717349529266, -0.02034667506814003, -0.37781885266304016, -0.012148810550570488, 0.37956732511520386, 0.3436754047870636, -0.027572475373744965, -0.10233426094055176, -0.02773454412817955, -0.1362651139497757, 0.2256617546081543, -0.27724745869636536, 0.22050151228904724, -0.1551634967327118, -0.18394772708415985, 0.3107892572879791, 0.0759701132774353], [0.3833175301551819, -0.3205733597278595, -0.37291598320007324, -0.08587315678596497, -0.1669866442680359, -0.003632025793194771, 0.1977444887161255, 0.03386712819337845, -0.2173391580581665, 0.26013487577438354, -0.1502385437488556, 0.165166974067688, 0.24429310858249664, -0.2969725430011749, -0.10617765784263611, -0.15212169289588928, 0.3208141624927521, 0.1790829300880432, 0.5654862523078918, -0.07225882261991501, -0.25392377376556396, -0.20288649201393127, -0.4924420416355133, -0.3441999852657318], [0.2304529845714569, -0.30432575941085815, 0.34744542837142944, -0.19116359949111938, -0.07858274132013321, 0.24580919742584229, 0.09340725094079971, -0.13481752574443817, -0.22804033756256104, 0.19687668979167938, 0.3095109760761261, 0.27982568740844727, -0.04017352685332298, -0.307311087846756, 0.09382803738117218, 0.06305558979511261, -0.14038871228694916, -0.3134616017341614, -0.04595833644270897, 0.02599235437810421, 0.5323362350463867, 0.006813375744968653, -0.17180845141410828, -0.5055544972419739], [-0.027611514553427696, -0.3867146670818329, -0.3919323980808258, -0.0009396335226483643, 0.09764774143695831, 0.2018377184867859, 0.5208308696746826, 0.2631279230117798, -0.21977093815803528, -0.24894654750823975, 0.1075240895152092, -0.11174923926591873, 0.002337308833375573, -0.2655344605445862, 0.09928970038890839, 0.1585279405117035, 0.33878156542778015, 0.25308898091316223, 0.1280132383108139, -0.2886791229248047, 0.1343531608581543, -0.028625352308154106, 0.09907606989145279, 0.1422964632511139], [0.10289724916219711, 0.19763922691345215, 0.12146980315446854, 0.04612818732857704, 0.1208161860704422, -0.19892749190330505, 0.07107945531606674, 0.08712644129991531, 0.2653437554836273, -0.17553217709064484, 0.23562033474445343, -0.36108484864234924, -0.0964389443397522, -0.10407751798629761, 0.29544129967689514, 0.3007507026195526, 0.34706515073776245, -0.16262386739253998, -0.34915053844451904, -0.3599852919578552, -0.14344872534275055, -0.30452367663383484, -0.2069886028766632, -0.2729871869087219], [-0.14145557582378387, 0.19004666805267334, 0.30795255303382874, -0.24241243302822113, -0.0015118364244699478, 0.06537580490112305, -0.2381959855556488, 0.06604413688182831, 0.4270566999912262, -0.27452975511550903, 0.10933936387300491, 0.016810491681098938, -0.01895158365368843, 0.12711644172668457, 0.034980468451976776, -0.16938509047031403, -0.21338219940662384, -0.14575594663619995, -0.29121068120002747, 0.3354639708995819, 0.2369028478860855, -0.33591485023498535, 0.009512943215668201, -0.6583229303359985], [-0.15808811783790588, -0.23719216883182526, 0.20570720732212067, -0.18480505049228668, -0.09495453536510468, 0.07685571908950806, 0.23909235000610352, -0.12623409926891327, 0.2382097989320755, -0.2729341387748718, 0.05573836341500282, 0.3999435603618622, 0.05612098425626755, -0.27648791670799255, 0.1342274248600006, 0.12695369124412537, -0.09481415897607803, -0.08227036148309708, 0.30969366431236267, -0.27447375655174255, -0.049241531640291214, -0.2847064733505249, -0.36817243695259094, 0.7992592453956604], [-0.355273574590683, -0.3330109715461731, -0.14532175660133362, 0.010187957435846329, 0.13930919766426086, -0.25626876950263977, 0.020214254036545753, 0.3180881142616272, 0.13280688226222992, 0.021894540637731552, -0.0026779579930007458, 0.10626216977834702, 0.019047224894165993, 0.12461554259061813, 0.2644224464893341, 0.04275071620941162, 0.38219574093818665, 0.10753489285707474, 0.37943902611732483, 0.30684009194374084, -0.3083505630493164, 0.038781169801950455, 0.21514244377613068, -0.2480185180902481], [-0.04473206400871277, 0.048206083476543427, 0.07751267403364182, 0.07365202903747559, 0.09258626401424408, 0.4293367862701416, 0.10128509253263474, -0.3717919886112213, 0.01907964050769806, 0.0631852000951767, -0.4204539656639099, 0.11771922558546066, 0.06599532067775726, 0.007206556387245655, 0.13028104603290558, -0.3632502853870392, 0.13439753651618958, 0.1851799190044403, 0.14990901947021484, -0.18623103201389313, -0.02208406664431095, 0.19969531893730164, -0.034841351211071014, 0.26020780205726624], [-0.182559072971344, 0.13140104711055756, 0.07362620532512665, -0.1575586348772049, 0.1835716962814331, 0.025855302810668945, 0.20344269275665283, -0.13033266365528107, 0.29412323236465454, -0.21483872830867767, 0.10762656480073929, 0.07138005644083023, 0.1254330575466156, 0.17791476845741272, -0.19133628904819489, -0.03986058384180069, 0.14655321836471558, 0.19076906144618988, 0.24353770911693573, -0.026001984253525734, 0.1045980453491211, -0.4995967149734497, 0.14713455736637115, -0.5686466097831726], [-0.2339109182357788, 0.05380076915025711, 0.06461405754089355, 0.121048703789711, 0.15211528539657593, -0.037458717823028564, 0.36554092168807983, 0.3009783625602722, -0.3073141574859619, 0.1622130125761032, 0.015185986645519733, 0.1565185785293579, -0.21857021749019623, -0.099938303232193, -0.1315450519323349, 0.15310880541801453, 0.3850589692592621, 0.14471261203289032, 0.18697525560855865, -0.15242600440979004, 0.17882561683654785, -0.27993112802505493, 0.3090372085571289, 0.5198060870170593], [0.13251036405563354, 0.062402814626693726, 0.027611177414655685, 0.07843789458274841, -0.07379325479269028, -0.1795656830072403, -0.08928427845239639, 0.11191064864397049, 0.22253620624542236, -0.15925750136375427, 0.023755552247166634, 0.008262627758085728, -0.055312879383563995, -0.19107401371002197, -0.12735947966575623, 0.2995769679546356, -0.1390792429447174, -0.2713753879070282, -0.47095561027526855, -0.013363628648221493, 0.0543050616979599, -0.3105012774467468, -0.1414913833141327, -0.39264458417892456], [0.14952416718006134, -0.1273636817932129, 0.2744399905204773, -0.024946846067905426, 0.244388610124588, -0.2361973077058792, 0.003642889205366373, 0.2690512537956238, -0.09100315719842911, 0.1892358362674713, 0.12229874730110168, -0.342765212059021, 0.11058886349201202, 0.16129843890666962, 0.15038344264030457, 0.2771326005458832, 0.08109481632709503, 0.05922329053282738, 0.06597043573856354, 0.33829352259635925, 0.05153224244713783, 0.1282537579536438, -0.04187064990401268, 0.47488635778427124], [0.05344878137111664, -0.015369604341685772, -0.16582925617694855, -0.12735506892204285, 0.24501308798789978, 0.09126415103673935, -0.2579277753829956, 0.3300318121910095, -0.12468577176332474, -0.08286096155643463, 0.20789851248264313, -0.19683796167373657, -0.18095973134040833, 0.31049996614456177, -0.11474362760782242, -0.07562046498060226, -0.29376447200775146, 0.042687561362981796, 0.14697936177253723, -0.028895700350403786, 0.06708880513906479, -0.12222453951835632, 0.2354215681552887, 0.6030122637748718], [-0.09785457700490952, -0.1090335100889206, -0.1858760416507721, 0.011473162099719048, 0.1761912852525711, 0.19995802640914917, 0.08089762926101685, -0.09817145764827728, 0.13886819779872894, -0.2990032732486725, -0.21283096075057983, -0.10024740546941757, -0.20716725289821625, 0.18425655364990234, 0.06166146323084831, -0.21520929038524628, -0.2721632122993469, -0.22516919672489166, 0.24905845522880554, -0.1967317909002304, 0.28770893812179565, 0.01232835277915001, -0.3782247006893158, -0.7046420574188232], [-0.08040215075016022, -0.22404195368289948, -0.27460721135139465, -0.07294249534606934, -0.2401629537343979, 0.3340733051300049, -0.07187782973051071, 0.3574684262275696, 0.37584391236305237, 0.25868460536003113, 0.15586373209953308, 0.11313152313232422, 0.29601994156837463, -0.3268502950668335, -0.04812365397810936, -0.19731955230236053, -0.18590334057807922, 0.060907211154699326, 0.012193797156214714, -0.1833290159702301, -0.20172010362148285, 0.19572900235652924, 0.24557456374168396, 0.1075325459241867], [0.26756519079208374, -0.019653765484690666, 0.22150206565856934, 0.07531929761171341, -0.2886505722999573, -0.21443183720111847, 0.037681836634874344, -0.385199636220932, -0.1140112355351448, 0.15484514832496643, 0.21475526690483093, 0.3158668577671051, 0.021155711263418198, -0.056716036051511765, 0.458238810300827, 0.1659936010837555, 0.10902811586856842, -0.45669203996658325, -0.41280269622802734, 0.0506969653069973, -0.2029428333044052, -0.12099571526050568, 0.18892590701580048, 0.48853328824043274], [-0.2944495975971222, 0.15819820761680603, -0.16909152269363403, -0.08819646388292313, -0.2751351594924927, 0.142139732837677, -0.16323883831501007, -0.10872422903776169, 0.16721126437187195, -0.022401679307222366, -0.16421106457710266, -0.18520529568195343, -0.13196450471878052, 0.3300406038761139, -0.194437637925148, -0.021351700648665428, 0.44772517681121826, 0.5709037780761719, 0.05337971821427345, -0.15439529716968536, 0.010499929077923298, 0.3771779239177704, 0.09639021754264832, -0.6281321048736572], [0.19137176871299744, 0.2174990326166153, 0.07651758939027786, -0.11487424373626709, -0.18074393272399902, -0.2588135302066803, -0.2586902678012848, -0.0797988623380661, 0.2969386577606201, -0.08192119002342224, -0.03866688162088394, 0.014622830785810947, 0.357187956571579, -0.10960546880960464, 0.035215139389038086, 0.020068280398845673, 0.07948703318834305, 0.5201601982116699, -0.04161185026168823, 0.056625425815582275, 0.19152143597602844, 0.009233198128640652, -0.13308508694171906, -0.8645692467689514]], "biases": [-0.6193442940711975, -0.1651676744222641, -0.18424998223781586, -0.01437197346240282, 0.18213891983032227, -0.23050080239772797, -1.0130683183670044, 0.3793134093284607, 0.2948434054851532, 0.46345189213752747, 1.262971043586731, 1.0725408792495728, 0.8456935882568359, -0.14976100623607635, 0.9190394878387451, -0.13489824533462524, 0.4068462550640106, 0.5752189755439758, -0.259633868932724, 0.449032187461853, -0.11466824263334274, -0.20502279698848724, 0.024870458990335464, 0.7446372509002686]}, "1": {"config": {"units": 20, "activation": "relu"}, "weights": [[-0.04273007810115814, 0.2229042500257492, -0.12807948887348175, -0.1760271191596985, 0.29173529148101807, 0.2724887430667877, -0.6198543906211853, 0.10267259180545807, 0.0846618115901947, -0.0796126276254654, 0.17613734304904938, -0.1647709757089615, 0.08646061271429062, 0.20350691676139832, -0.16917237639427185, 0.07339547574520111, 0.19181621074676514, -0.11869151145219803, 0.2373914271593094, -0.1009398028254509, -0.14738470315933228, -0.09041823446750641, -0.11736994981765747, -0.13157019019126892], [-0.05250765383243561, 0.008454963564872742, -0.00922186579555273, -0.026238445192575455, 0.3760952353477478, -0.038393281400203705, 0.15223519504070282, -0.024109503254294395, -0.09384728223085403, 0.14203445613384247, 0.1694183200597763, 0.15171203017234802, 0.117156483232975, 0.08943576365709305, 0.08826242387294769, -0.09666649997234344, 0.0360819473862648, 0.1974795013666153, -0.08222361654043198, 0.04923340305685997, 0.014308001846075058, 0.056224044412374496, 0.2249276489019394, -0.1703861653804779], [0.061618976294994354, 0.07024390995502472, 0.2221786379814148, 0.3116600215435028, 0.17935608327388763, 0.04217980429530144, -0.2212977409362793, -0.254364013671875, 0.20428815484046936, -0.06682058423757553, 0.1595395803451538, 0.2550152838230133, 0.001614253269508481, 0.07298310101032257, -0.09175671637058258, 0.07390868663787842, -0.16360442340373993, 0.35221999883651733, -0.12792250514030457, 0.08896416425704956, 0.22732625901699066, 0.16368107497692108, 0.06099466606974602, 0.3328234553337097], [-0.18320973217487335, 0.17949610948562622, 0.11051490157842636, -0.08369936794042587, 0.23743751645088196, 0.0161298718303442, 0.25550612807273865, 0.27849310636520386, 0.11435294151306152, 0.10141409933567047, -0.02208200842142105, 0.2679884135723114, 0.2458076775074005, 0.12378587573766708, 0.25043800473213196, 0.01634543016552925, -0.15210998058319092, 0.1734851896762848, -0.2977766990661621, 0.3859257102012634, -0.020988380536437035, -0.2027706652879715, -0.184428408741951, -0.2734462320804596], [0.006126806139945984, -0.13275721669197083, 0.20758353173732758, -0.008242878131568432, -0.12770991027355194, -0.037356920540332794, 0.16794905066490173, 0.05670800060033798, 0.42209893465042114, 0.18847140669822693, 0.08261800557374954, -0.4358537793159485, 0.059825535863637924, -0.113410584628582, 0.2518983781337738, -0.030800966545939445, 0.29406091570854187, -0.058150287717580795, -0.14389754831790924, 0.08985967934131622, -0.1532980054616928, 0.04369654878973961, 0.4315595328807831, 0.23718498647212982], [-0.15635083615779877, 0.004211235325783491, 0.14191700518131256, 0.0685982033610344, 0.03166552260518074, -0.0692419782280922, -0.03443533554673195, -0.10986355692148209, -0.18923793733119965, 0.006768438965082169, 0.3340701758861542, 0.0903811827301979, 0.368996798992157, 0.024134263396263123, 0.2555784583091736, -0.14679959416389465, 0.045555491000413895, 0.19126252830028534, 0.21265776455402374, -0.2264450043439865, -0.04984256625175476, 0.21719996631145477, 0.1992587149143219, -0.31999993324279785], [0.09898047894239426, 0.24850566685199738, 0.13192664086818695, 0.20796674489974976, 0.4586468040943146, -0.06136074662208557, 0.0848059207201004, -0.16958065330982208, -0.1336897611618042, -0.004033890087157488, 0.12482857704162598, 0.28483137488365173, -0.01841241680085659, -0.1270306259393692, -0.33598098158836365, 0.030096421018242836, 0.0027599656023085117, -0.20488160848617554, 0.21943014860153198, -0.03022288717329502, 0.11997168511152267, -0.05300749093294144, -0.1517912596464157, -0.4691411852836609], [0.15995141863822937, -0.15383924543857574, 0.21302665770053864, 0.05871765688061714, -0.01428092923015356, 0.07717621326446533, -0.06731598824262619, 0.029301324859261513, 0.029108289629220963, 0.010555975139141083, 0.3013347089290619, -0.2619209885597229, 0.11832018196582794, -0.07121378928422928, -0.1887994259595871, -0.092367984354496, 0.02873060666024685, -0.009111186489462852, -0.16951626539230347, -0.01079186424612999, 0.07969142496585846, 0.10580098628997803, 0.25776010751724243, 0.23712611198425293], [-0.3101942539215088, -0.2519442141056061, 0.39126861095428467, -0.09564600884914398, 0.15568393468856812, 0.22522778809070587, -0.3073948919773102, 0.07263883203268051, 0.1753634512424469, -0.041815586388111115, 0.0033595659770071507, -3.239192665205337e-05, 0.19493509829044342, 0.26141080260276794, 0.0746983215212822, -0.214383065700531, 0.04962228611111641, -0.17282529175281525, -0.022193564102053642, 0.02690529078245163, -0.29090040922164917, 0.12893003225326538, -0.42204907536506653, 0.004983545280992985], [-0.06022178754210472, 0.08048684895038605, 0.17580610513687134, 0.19609229266643524, -0.05764147266745567, 0.02142859436571598, 0.21829421818256378, 0.007558293640613556, -0.06782229989767075, -0.07754440605640411, -0.03730684891343117, 0.3362368643283844, 0.23212507367134094, 0.24090515077114105, 0.14421921968460083, 0.2350342571735382, 0.11393971741199493, 0.19082272052764893, 0.3250827193260193, -0.0750666931271553, 0.26573267579078674, 0.15834881365299225, -0.0638018250465393, -0.4377748966217041], [-0.08315177261829376, -0.01756170392036438, 0.002086399123072624, 0.35888367891311646, 0.31057965755462646, -0.22484251856803894, -0.14414668083190918, -0.3820018172264099, -0.17303350567817688, -0.2552132308483124, 0.25465765595436096, 0.32645684480667114, 0.01415511779487133, -0.09883806854486465, 0.22379367053508759, -0.001873390981927514, -0.05590387433767319, -0.1527673453092575, -0.32159560918807983, -0.05195818468928337, 0.14411211013793945, 0.09180119633674622, 0.058595526963472366, 0.1957254707813263], [-0.026937119662761688, 0.16686104238033295, 0.24397625029087067, 0.07202126085758209, 0.19119499623775482, 0.2560817003250122, 0.04610006883740425, -0.019405698403716087, -0.22664998471736908, 0.272266149520874, -0.04993179813027382, -0.03496555984020233, 0.07353442907333374, 0.11215819418430328, -0.13895443081855774, -0.17249150574207306, -0.005253314506262541, -0.05186506733298302, 0.09544318914413452, 0.3111172616481781, 0.028313253074884415, 0.3588257133960724, 0.21239055693149567, 0.30159473419189453], [-0.30972549319267273, -0.042939238250255585, -0.23369786143302917, 0.16498489677906036, -0.019090045243501663, 0.17429901659488678, -0.2772125005722046, -0.3102598786354065, -0.2080700695514679, -0.09031578153371811, -0.11537875980138779, -0.1748575121164322, -0.36342987418174744, 0.04909519478678703, -0.3635479211807251, 0.049740020185709, -0.1285443902015686, -0.10884065926074982, 0.16103647649288177, 0.124136783182621, -0.11952807009220123, -0.38934266567230225, 0.022632943466305733, -0.09720009565353394], [0.09068657457828522, 0.0723763108253479, 0.19413717091083527, 0.21750186383724213, 0.05281996726989746, 0.029341263696551323, 0.11417997628450394, -0.01700926385819912, -0.15461863577365875, 0.19670261442661285, 0.3385904133319855, -0.11745810508728027, 0.07161382585763931, 0.09197328984737396, -0.05456085503101349, -0.011266256682574749, 0.22828951478004456, -0.1782747507095337, -0.11848658323287964, 0.307168185710907, 0.26536664366722107, 0.3235938251018524, 0.39759325981140137, 0.3609046936035156], [0.21412791311740875, 0.16762447357177734, 0.4196397364139557, -0.1416907161474228, 0.06762390583753586, 0.2092410922050476, 0.04876875877380371, 0.11172977834939957, 0.04735075682401657, 0.29203662276268005, -0.5207829475402832, 0.12598071992397308, -0.15345412492752075, 0.03187686949968338, -0.06698113679885864, -0.05739233270287514, -0.08397886902093887, -0.05089588090777397, -0.01600312441587448, 0.0335904061794281, -0.06659884005784988, 0.26265987753868103, -0.24119268357753754, -0.3301326334476471], [0.061238862574100494, -0.05370130017399788, -0.23470556735992432, -0.14289109408855438, 0.3524443209171295, -0.006810437887907028, 0.06440197676420212, -0.0005993995582684875, -0.14472350478172302, 0.07222568988800049, 0.19328351318836212, 0.07417865097522736, -0.1580539047718048, 0.25708648562431335, -0.24085737764835358, 0.3211205005645752, 0.17612913250923157, -0.10514900088310242, 0.2074154019355774, -0.270812451839447, 0.1397770196199417, 0.033565130084753036, 0.4042837917804718, -0.28920212388038635], [-0.059796739369630814, 0.21850574016571045, 0.043095663189888, -0.02167150191962719, 0.6098194122314453, 0.08155021071434021, -0.10169927775859833, 0.056058164685964584, 0.06600019335746765, 0.09984574466943741, -0.022808736190199852, 0.1779944896697998, 0.11607850342988968, 0.23105162382125854, -0.04733263701200485, 0.006926712114363909, -0.11493713408708572, 0.2128024846315384, 0.10729990154504776, 0.08330900967121124, -0.002875368809327483, 0.07788936048746109, 0.07523112744092941, -0.004213619977235794], [-0.2982826828956604, -0.25755760073661804, -0.06328730285167694, 0.05227518454194069, -0.26891452074050903, -0.17454195022583008, 0.23217301070690155, -0.10953880846500397, -0.3024492561817169, -0.16915471851825714, -0.018904872238636017, -0.09662684053182602, 0.1820985972881317, 0.11679903417825699, 0.10784058272838593, -0.009017889387905598, -0.3108968734741211, -0.24871030449867249, -0.248742938041687, -0.21476006507873535, 0.06287244707345963, -0.297533243894577, -0.3050849437713623, 0.16495418548583984], [0.18079136312007904, -0.08461058884859085, 0.29457196593284607, -0.2827484905719757, -0.15878590941429138, 0.026198111474514008, -0.08644062280654907, -0.019824104383587837, 0.43428489565849304, 0.031248755753040314, 0.13163475692272186, -0.5195019245147705, 0.13729801774024963, -0.09289126098155975, 0.2141953557729721, -0.04868430271744728, 0.05377962067723274, -0.08098821341991425, -0.1515759527683258, 0.10678648948669434, 0.1424574851989746, -0.12110605090856552, 0.24196268618106842, 0.25920388102531433], [0.01779179833829403, 0.08390464633703232, 0.10382704436779022, 0.08979617059230804, 0.03020917996764183, 0.1665147840976715, 0.11725228279829025, 0.026930244639515877, 0.1827443391084671, -0.08591754734516144, -0.03892406076192856, 0.14180338382720947, -0.06626194715499878, 0.0574580617249012, 0.009350174106657505, 0.1621105819940567, 0.06778758764266968, 0.18269464373588562, 0.2121753841638565, -0.16730543971061707, 0.14445802569389343, -0.06006769463419914, 0.12447315454483032, 0.16663596034049988]], "biases": [-0.2387644201517105, -0.034222979098558426, 0.6524558067321777, -0.33630314469337463, 0.8794577121734619, 0.0883377268910408, -0.3036935329437256, 0.5466732382774353, -0.361193984746933, -0.46980950236320496, 0.7536135911941528, 0.5020809173583984, 0.3259778618812561, 0.48966577649116516, 0.26039355993270874, -0.06476089358329773, 0.296665221452713, -0.1660575121641159, 0.6759180426597595, -0.5985677242279053]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.15808993577957153, 0.11888973414897919, 0.1775905340909958, -0.5236332416534424, -0.09731028974056244, 0.027290157973766327, 0.12004086375236511, 0.028245100751519203, 0.03837225213646889, 0.3147576153278351, 0.07193248718976974, 0.07984790951013565, -0.2829287648200989, -0.37243515253067017, -0.011553235352039337, 0.06137683987617493, 0.3489587903022766, -0.13107872009277344, -0.19715888798236847, 0.07650384306907654], [0.015610937029123306, -0.33795085549354553, 0.30290713906288147, -0.27639541029930115, -0.22957010567188263, 0.5270839333534241, 0.12829172611236572, -0.40304601192474365, 0.11479664593935013, -0.16602873802185059, -0.009289576672017574, -0.10774672031402588, -0.15624792873859406, -0.03803591802716255, -0.1338965892791748, 0.4231283962726593, 0.385157972574234, 0.18388862907886505, -0.18656930327415466, 0.2629341185092926], [0.15293899178504944, 0.10137952864170074, 0.20698922872543335, -0.282492071390152, -0.2344978153705597, 0.09298417717218399, 0.15150092542171478, 0.18921668827533722, -0.08456201106309891, 0.19993188977241516, 0.07969678938388824, 0.10944011062383652, -0.2405613362789154, -0.4061228930950165, -0.2846229374408722, 0.17478962242603302, 0.261859267950058, -0.3301237225532532, -0.29219505190849304, 0.10930909216403961], [0.19312597811222076, 0.1971740424633026, 0.3177100121974945, -0.17312252521514893, -0.33525893092155457, -0.08048173040151596, 0.20229022204875946, 0.22099317610263824, -0.23365478217601776, 0.29627546668052673, 0.1228206530213356, 0.13352130353450775, -0.19740654528141022, -0.4838959872722626, -0.4511118233203888, 0.18215081095695496, 0.10150396078824997, -0.0129071194678545, -0.1594594269990921, -0.0454585961997509], [0.15764443576335907, 0.3196704089641571, 0.19951266050338745, -0.09070848673582077, -0.40524545311927795, -0.07762154191732407, 0.22246600687503815, 0.2745318114757538, -0.5159976482391357, 0.18716268241405487, 0.21057051420211792, 0.06672368943691254, -0.18881449103355408, -0.4521358013153076, -0.5391239523887634, 0.12298755347728729, -0.02940901555120945, 0.23887425661087036, -0.3075646460056305, 0.34398460388183594], [0.02519233524799347, -0.15364153683185577, 0.34908729791641235, 0.1767784208059311, -0.4616016745567322, 0.32935988903045654, 0.18591131269931793, -0.1882733255624771, -0.6976163983345032, -0.2267656922340393, 0.2853512167930603, -0.3153979480266571, -0.2320546656847, -0.03156280517578125, -0.4852631092071533, 0.396938681602478, -0.03094131499528885, 0.3134322166442871, -0.35647282004356384, 0.48254522681236267], [-0.16686409711837769, -0.3749590516090393, 0.2681232690811157, 0.14726358652114868, 0.030558571219444275, -0.13011886179447174, 0.25152066349983215, 0.1866774708032608, -0.685189962387085, 0.3423326015472412, 0.3926534652709961, -0.3525277376174927, -0.8327751159667969, -0.2868533432483673, -0.4290402829647064, 0.18268512189388275, 0.3323330879211426, 0.3524993062019348, -0.6011986136436462, -0.2220131903886795], [-0.18238309025764465, 0.256416380405426, 0.3196168541908264, 0.1992187649011612, -0.4435271918773651, -0.07205555588006973, 0.2337786853313446, 0.20872381329536438, -0.814853310585022, 0.09239215403795242, 0.4578009843826294, -0.06638363748788834, -1.1916011571884155, -0.3815538287162781, -0.5691786408424377, 0.09171025454998016, -0.12953683733940125, -0.39238831400871277, -0.4143514633178711, 0.25660809874534607], [-0.22854341566562653, -0.07451654225587845, 0.43353986740112305, 0.23742268979549408, -0.30698204040527344, 0.10233607888221741, 0.30771762132644653, -0.161652609705925, -0.7003167867660522, 0.23074670135974884, 0.46771886944770813, -0.1531253159046173, -1.3449863195419312, -0.27744632959365845, -0.6074780225753784, 0.2449370175600052, -0.18665236234664917, -0.34165942668914795, -0.35680046677589417, -0.18362125754356384], [-0.32909491658210754, 0.21624881029129028, -0.14578697085380554, -0.059374988079071045, -0.42246851325035095, -0.021587643772363663, 0.14242994785308838, -0.1456248015165329, -0.8879549503326416, 0.44638344645500183, 0.6317458152770996, -0.34845495223999023, -1.3699735403060913, -0.03988504037261009, -0.5815412998199463, -0.2395167499780655, 0.2686251103878021, -0.001488373731262982, -0.4070206582546234, 0.11842954903841019], [-0.3961329162120819, 0.16533471643924713, -0.06872717291116714, -0.00199451413936913, -0.2668002247810364, 0.06910091638565063, 0.16846922039985657, -0.2093159258365631, -0.8652985095977783, 0.357232928276062, 0.629716157913208, -0.24612240493297577, -1.4354137182235718, -0.16647225618362427, -0.6266171336174011, -0.20422181487083435, 0.24805022776126862, 0.3189026713371277, -0.4825814664363861, 0.09550895541906357], [-0.20974864065647125, -0.28688734769821167, 0.34873881936073303, 0.3260304033756256, -0.26125162839889526, 0.4113786220550537, 0.25158172845840454, -0.24434754252433777, -0.8663329482078552, 0.19432508945465088, 0.4423551559448242, 0.03739883750677109, -1.4593629837036133, -0.25645506381988525, -0.7555223703384399, 0.24319730699062347, -0.2814137637615204, 0.03418957069516182, -0.6327727437019348, -0.13784447312355042]], "biases": [0.13176825642585754, 0.006356088910251856, 0.02199857495725155, -0.07248253375291824, 0.0835346058011055, -0.1528559774160385, -0.3983384072780609, -0.3501036465167999, -0.4459204077720642, -0.22611652314662933, -0.41923022270202637, -0.4884619116783142]}}

# 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.1 0.1 0.1 -0.1 -...
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.6 2.6 2.4 2.3 2.0 2.0 2....
Truncated

Test 3

Verdict: ACCEPTED

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

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

user output
10.1 10.0 9.7 9.3 8.6 7.5 6.8 ...
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.5 17.7 17.3 16.9 16.4 15.7 ...
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.2 -4.1 -4.2 -4.4 -4.6 -4.8 ...
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 13.0 12.6 12.2 11.4 10.3 ...
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.6 -1.9 -2.3 -2.6 -3.0 ...
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.0 15.1 14.8 14.5 14.0 13.3 ...
Truncated