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

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.009989315643906593, 0.1045919805765152, 0.24316290020942688, -0.2918481230735779, 0.1221662163734436, -0.22494307160377502, -0.2984324097633362, 0.15211310982704163, 0.3843914866447449, 0.08439778536558151, -0.2649857699871063, -0.12870335578918457, 0.04456595331430435, 0.22221814095973969, -0.010654733516275883, 0.31324827671051025, -0.10640879720449448, -0.21402151882648468, -0.35593271255493164, -0.2378571778535843, -0.17824262380599976, -0.02823570929467678, -0.23606164753437042, -0.9291586875915527], [-0.12469836324453354, -0.28360772132873535, 0.02516661211848259, -0.3214993476867676, -0.11176781356334686, 0.31569281220436096, -0.02928720787167549, -0.15287284553050995, 0.21039851009845734, -0.11503878235816956, 0.1882440447807312, 0.2501886188983917, 0.30693840980529785, 0.1941342055797577, -0.3949626386165619, 0.11536591500043869, -0.4078543782234192, -0.2100101262331009, 0.0962999239563942, 0.21697145700454712, -0.19008375704288483, 0.09509829431772232, -0.19773373007774353, 0.9315024018287659], [0.022814234718680382, 0.059955257922410965, -0.022873366251587868, 0.20304933190345764, 0.2672349214553833, 0.3488304615020752, -0.03117607720196247, 0.11971358954906464, -0.3344438970088959, -0.01587473228573799, -0.2029608190059662, -0.16025449335575104, 0.08328951895236969, -0.19883021712303162, -0.2865111529827118, -0.47568684816360474, -0.10468240082263947, -0.14327289164066315, -0.07871845364570618, 0.26951736211776733, 0.07967092841863632, -0.189687579870224, 0.14820045232772827, 0.8374107480049133], [-0.2768802046775818, -0.054471030831336975, 0.05529048666357994, -0.09244145452976227, -0.001371934893541038, -0.08325562626123428, 0.05385569855570793, 0.39664819836616516, -0.03759468346834183, 0.1994205266237259, -0.2556409239768982, 0.17522650957107544, -0.04156152158975601, -0.2795071005821228, -0.11548839509487152, -0.1289156973361969, 0.008943702094256878, 0.40149369835853577, 0.2125568687915802, 0.1634034365415573, 0.010312508791685104, -0.2967604398727417, 0.25833016633987427, 0.8192517161369324], [0.14399248361587524, -0.12700682878494263, -0.3208571672439575, -0.21312178671360016, 0.585404098033905, 0.10063043236732483, 0.02367485873401165, -0.03954732045531273, -0.3140420913696289, -0.21318800747394562, 0.26544320583343506, 0.003927735146135092, 0.027456743642687798, -0.07560931891202927, -0.37631237506866455, -0.21863414347171783, -0.4941824972629547, 0.1914072185754776, 0.33493131399154663, 0.2051706165075302, 0.067449651658535, 0.3444126844406128, 0.19147330522537231, -0.6477640271186829], [-0.007880574092268944, 0.09626086056232452, -0.3426550030708313, -0.15705794095993042, 0.004100278951227665, -0.1677510142326355, 0.09214694052934647, -0.1724724918603897, 0.126226007938385, -0.12457583844661713, -0.2187242954969406, -0.38435402512550354, -0.26094958186149597, 0.06542913615703583, 0.39955300092697144, 0.4228263795375824, 0.23066134750843048, -0.21025079488754272, 0.030924968421459198, -0.06406524777412415, 0.2638561725616455, 0.24349002540111542, 0.20893357694149017, 0.8600256443023682], [-0.07251940667629242, -0.15553897619247437, -0.18206271529197693, 0.3246237337589264, -0.4771013855934143, -0.271022766828537, -0.2957422435283661, -0.015352737158536911, 0.1960655152797699, -0.21655578911304474, 0.22422367334365845, -0.4403468072414398, -0.4236399829387665, 0.3473794460296631, 0.07920531183481216, 0.2081928849220276, -0.04480607062578201, 0.21842104196548462, 0.42699959874153137, 0.07689692825078964, 0.01785387098789215, -0.13696438074111938, 0.28995057940483093, -0.004746448248624802], [0.2508082687854767, 0.20429329574108124, 0.27419114112854004, -0.11184138804674149, -0.04036673530936241, -0.20733655989170074, -0.2992667853832245, -0.31256550550460815, 0.1446818709373474, 0.4227679371833801, 0.37956684827804565, 0.2810207009315491, -0.013528863899409771, 0.4421716630458832, -0.11232859641313553, -0.12520042061805725, -0.04656939581036568, -0.45292240381240845, -0.7191890478134155, 0.13865499198436737, 0.0118950130417943, -0.1930905431509018, 0.0657457634806633, -0.24421805143356323], [0.10025111585855484, -0.15384291112422943, -0.13048242032527924, -0.10491102933883667, -0.05760837346315384, -0.15453815460205078, 0.42370671033859253, -0.12523247301578522, 0.17754879593849182, 0.05630825459957123, -0.22696059942245483, -0.443877249956131, 0.12306329607963562, -0.08664854615926743, 0.11873498558998108, -0.22774308919906616, 0.05722898244857788, 0.20833872258663177, -0.24894748628139496, 0.5684921741485596, -0.08468610048294067, 0.22611500322818756, 0.13877983391284943, -0.677289605140686], [0.1246110126376152, -0.021914735436439514, 0.30054008960723877, 0.17819984257221222, 0.3578990399837494, 0.363464891910553, 0.20191574096679688, -0.13779258728027344, -0.16055648028850555, -0.0889396145939827, 0.13352768123149872, 0.23271019756793976, 0.21489432454109192, -0.15210223197937012, -0.10363472253084183, 0.06530039012432098, 0.1062457263469696, 0.043966103345155716, 0.32362058758735657, -0.1062561422586441, -0.3885977566242218, 0.13910916447639465, -0.09865333884954453, 0.8677847385406494], [-0.26720425486564636, 0.13093119859695435, -0.17822839319705963, -0.034991923719644547, 0.3111172616481781, 0.17856016755104065, -0.3790190815925598, 0.2311636358499527, -0.023300904780626297, -0.315573513507843, -0.0042790803126990795, 0.052446264773607254, 0.14979533851146698, 0.32459646463394165, 0.2984978258609772, -0.15212851762771606, -0.3387233316898346, -0.24741104245185852, 0.09176264703273773, 0.09095096588134766, -0.37295496463775635, -0.352328896522522, 0.025106394663453102, 0.8791110515594482], [-0.08172040432691574, 0.17965252697467804, -0.22475510835647583, -0.23764438927173615, -0.2500438392162323, -0.2877204120159149, 0.25273701548576355, 0.032309629023075104, 0.18118047714233398, 0.34163931012153625, 0.463061660528183, 0.1832466870546341, 0.04218680039048195, -0.3563503324985504, -0.18584688007831573, -0.0014949055621400476, -0.058844584971666336, 0.2716968357563019, -0.3021509647369385, -0.2854866683483124, -0.2919654846191406, -0.3760232925415039, -0.12200601398944855, 0.6631354689598083], [0.11935290694236755, -0.007161131594330072, -0.12743301689624786, -0.10911142826080322, -0.0749884620308876, -0.3200809955596924, -0.270625501871109, -0.23134365677833557, 0.27258816361427307, 0.0329388864338398, 0.2942867875099182, 0.1391589343547821, 0.2852345108985901, -0.30789414048194885, -0.042401015758514404, 0.08007708191871643, 0.46326854825019836, 0.6814977526664734, 0.0008465122082270682, -0.030496129766106606, 0.0176766999065876, 0.13382203876972198, -0.3903953731060028, -0.8416385650634766], [-0.1105962023139, -0.19507448375225067, -0.020255371928215027, 0.18824227154254913, 0.41836199164390564, -0.22039033472537994, 0.12710802257061005, -0.2961345911026001, 0.0643225833773613, 0.08383528143167496, -0.18861883878707886, -0.1539074033498764, -0.0802791565656662, 0.15506379306316376, 0.45182499289512634, -0.03491492196917534, 0.08900173008441925, -0.31818825006484985, -0.2631576359272003, 0.030143192037940025, 0.21896152198314667, 0.1750955730676651, 0.33809685707092285, -0.6637158393859863], [0.5080345273017883, 0.3341667354106903, 0.177060067653656, -0.2124151587486267, -0.5237537026405334, -0.5516096949577332, 0.013386057689785957, 0.24796900153160095, 0.39137208461761475, 0.09633524715900421, 0.19062721729278564, -0.23368683457374573, -0.4096396863460541, 0.234793558716774, 0.22574162483215332, 0.010288776829838753, -0.3167130947113037, -0.43772032856941223, -0.1124311238527298, 0.07748782634735107, 0.570618212223053, 0.13894663751125336, -0.2991991341114044, -0.024991804733872414], [0.01737862452864647, -0.009644473902881145, -0.26364198327064514, -0.1894078403711319, 0.24181805551052094, -0.04164090007543564, 0.716446578502655, 0.16849127411842346, 0.12094244360923767, 0.1931971162557602, -0.3838798403739929, -0.15500177443027496, -0.2170700579881668, 0.007998497225344181, -0.5452748537063599, 0.49184495210647583, 0.22813548147678375, -0.04207717999815941, 0.21529480814933777, 0.3175121545791626, 0.24219506978988647, 0.11498843878507614, -0.29358094930648804, -0.4469899535179138], [-0.060716789215803146, -0.14628510177135468, 0.37404030561447144, 0.34634676575660706, -0.18301837146282196, -0.020023811608552933, -0.10129765421152115, -0.35423991084098816, -0.38122236728668213, 0.22696296870708466, 0.08513453602790833, 0.25909423828125, 0.11445456743240356, -0.11283070594072342, -0.007403634022921324, -0.04852499067783356, -0.17083784937858582, 0.1025652289390564, -0.23285643756389618, -0.04139554873108864, -0.010328030213713646, -0.31672799587249756, -0.32436519861221313, 0.7790016531944275], [-0.15727181732654572, 0.18380501866340637, 0.3206430673599243, 0.050894930958747864, 0.03877849876880646, -0.20462948083877563, -0.1701274961233139, -0.19436736404895782, 0.43425193428993225, -0.42434027791023254, 0.004307784605771303, -0.1179254874587059, 0.2791427671909332, -0.037435971200466156, -0.031719617545604706, -0.11927184462547302, -0.0756307914853096, -0.3916136622428894, 0.24239231646060944, 0.35519444942474365, 0.10793548077344894, 0.12003231793642044, 0.25288885831832886, -0.7797642350196838], [-0.5320473909378052, -0.2671612799167633, -0.20781628787517548, -0.03711636736989021, -0.02743784710764885, 0.28562694787979126, 0.052192267030477524, -0.13244055211544037, -0.09194602072238922, 0.10410567373037338, -0.3490270674228668, -0.015276496298611164, 0.29810675978660583, 0.10721457004547119, 0.17975839972496033, 0.49152871966362, 0.6401519179344177, 0.512384831905365, -0.018868107348680496, 0.4069676995277405, 0.20075194537639618, -0.12284558266401291, 0.2596297264099121, -0.3649252653121948], [-0.008489744737744331, 0.2630970776081085, 0.4721905589103699, 0.18923334777355194, -0.1801944524049759, -0.05280192941427231, -0.24416501820087433, -0.35856345295906067, -0.24647533893585205, -0.06979986280202866, -0.1553211510181427, -0.14244775474071503, -0.1338568776845932, 0.002879443345591426, -0.027529435232281685, 0.10237641632556915, 0.09239187091588974, 0.19592371582984924, -0.00617951387539506, -0.16956362128257751, 0.11840874701738358, -0.27566465735435486, -0.21545301377773285, 0.4925340414047241], [0.04784398525953293, -0.18464043736457825, -0.23208916187286377, 0.22356513142585754, -0.2993951737880707, -0.10054077208042145, 0.008931254036724567, 0.4466532766819, 0.5064486265182495, 0.31902003288269043, 0.14049802720546722, 0.1940164864063263, -0.009828279726207256, -0.10113875567913055, 0.3475009799003601, 0.27732494473457336, 0.19849282503128052, -0.10492227971553802, -0.3857293128967285, -0.3966348469257355, 0.10704275220632553, -0.012828214094042778, 0.2705283463001251, 0.2999069094657898], [0.3571596145629883, 0.426347017288208, 0.016059039160609245, -0.2329128086566925, 0.007813837379217148, 0.3267635107040405, 0.48517435789108276, -0.3539291322231293, -0.06135781109333038, -0.2915314733982086, -0.006947125308215618, 0.09351929277181625, 0.13242745399475098, -0.19344311952590942, -0.0930679440498352, -0.10895351320505142, 0.20564799010753632, 0.05110599845647812, 0.04513769969344139, -0.13097703456878662, -0.2691461145877838, -0.26411983370780945, 0.31054335832595825, -0.7388191819190979], [-0.24915699660778046, -0.43311282992362976, -0.0413685068488121, 0.2622867226600647, 0.25449609756469727, -0.19718627631664276, 0.2357855588197708, -0.09659923613071442, -0.09634273499250412, -0.2490309774875641, 0.12463313341140747, 0.614424467086792, 0.4979163110256195, -0.13513153791427612, 0.20803895592689514, 0.22991621494293213, -0.3493841290473938, -0.025720300152897835, -0.4321686923503876, -0.2594746947288513, -0.5089934468269348, -0.1868712157011032, 0.04523688927292824, 0.42656409740448], [-0.07551755011081696, 0.29685524106025696, -0.060669686645269394, 0.12224630266427994, -0.5204077959060669, -0.4947255551815033, 0.08997558802366257, 0.08623605221509933, 0.16314078867435455, 0.3844866156578064, -0.12453698366880417, -0.19300612807273865, 0.18151670694351196, 0.20957617461681366, 0.025490568950772285, 0.25654035806655884, 0.12624701857566833, -0.469955712556839, -0.681625485420227, -0.16384731233119965, 0.033360935747623444, 0.030197657644748688, 0.43050166964530945, 0.2756802439689636]], "biases": [0.13896708190441132, 0.7078726887702942, -0.4767550230026245, 0.12377451360225677, -1.0833773612976074, -0.4376654326915741, -1.4076277017593384, -1.2001020908355713, 0.4041305482387543, -0.17339687049388885, 0.6230481863021851, -0.5807775259017944, 0.48234662413597107, 0.4747388958930969, 0.019921334460377693, 0.2981884181499481, 0.044148191809654236, -0.09693470597267151, 1.059300422668457, -0.009331963956356049, 0.6672705411911011, -0.32822567224502563, -0.5329177379608154, 0.01609678938984871]}, "1": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.025663407519459724, 0.17099010944366455, 0.129141166806221, 0.2877788245677948, -0.01396145112812519, -0.2837173044681549, -0.30315595865249634, 0.17481529712677002, -0.051993321627378464, -0.1294405460357666, 0.21523143351078033, -0.3908466696739197, -0.13487759232521057, 0.09165915101766586, 0.048856474459171295, -0.4389854371547699, 0.018468428403139114, 0.2106192409992218, 0.04922874644398689, -0.00994561892002821, -0.41027113795280457, 0.08937417715787888, 0.015830839052796364, -0.03023253008723259], [0.1137433871626854, -0.24261446297168732, -0.19342562556266785, 0.13208621740341187, -0.012481987476348877, 0.07268325239419937, 0.12899571657180786, -0.29064539074897766, 0.056353818625211716, -0.06556711345911026, -0.23716525733470917, 0.013099548406898975, 0.13191372156143188, -0.05473281070590019, -0.01820523291826248, 0.013411237858235836, -0.05330004170536995, 0.05525483563542366, -0.7511458396911621, 0.0014838743954896927, 0.24224711954593658, 0.09771335124969482, -0.1608744114637375, -0.07757142186164856], [-0.08524879813194275, 0.039748597890138626, 0.22973403334617615, 0.19387491047382355, -0.13452266156673431, 0.36119937896728516, -0.1453116536140442, 0.14312545955181122, -0.15425324440002441, 0.23333491384983063, 0.1337502896785736, -0.12875929474830627, 0.2219945639371872, 0.06756345182657242, 0.14545772969722748, -0.115402452647686, 0.1856520026922226, -0.021558528766036034, 0.023239389061927795, 0.13049916923046112, 0.16529466211795807, -0.06497294455766678, 0.039887141436338425, 0.3485701084136963], [0.0035863155499100685, -0.08574803173542023, -0.019690239802002907, -0.781630277633667, -0.04932970926165581, 0.22278188169002533, 0.005995893385261297, 0.08380409330129623, 0.020380176603794098, 0.09861157834529877, 0.11650470644235611, 0.07620850205421448, 0.06569115072488785, 0.03638165071606636, 0.2301531434059143, -0.19207526743412018, -0.14646869897842407, -0.10531853884458542, -0.15116694569587708, -0.14638236165046692, -0.3299357295036316, -0.0844990685582161, 0.03049400821328163, 0.03293997049331665], [-0.05389406159520149, -0.011290594935417175, -0.2917478680610657, -0.0972231924533844, -0.2148168683052063, -0.0960504412651062, -0.38222071528434753, 0.14783819019794464, 0.06943241506814957, 0.06744924932718277, 0.33263227343559265, 0.14193195104599, 0.38022980093955994, 0.224749356508255, -0.05347581207752228, 0.12095154076814651, -0.041001178324222565, 0.13679330050945282, 0.029830796644091606, 0.1422814130783081, 0.12011559307575226, -0.31763601303100586, -0.3466128408908844, -0.21278108656406403], [0.21544235944747925, -0.2341163158416748, 0.1319693624973297, -0.26166000962257385, -0.12100398540496826, 0.21593111753463745, 0.010505842976272106, 0.14717033505439758, 0.2483016401529312, 0.1623266041278839, 0.1657349020242691, -0.12584391236305237, 0.0986197367310524, 0.20893238484859467, -0.21452219784259796, -0.3664344549179077, 0.09566101431846619, 0.04827899858355522, -0.3591445982456207, 0.21204514801502228, 0.02365196868777275, 0.0805635079741478, -0.07129676640033722, 0.2716488242149353], [0.016813457012176514, -0.044156696647405624, 0.013515307568013668, 0.12403326481580734, 0.04912329092621803, -0.3259449899196625, 0.04705527424812317, -0.09895377606153488, 0.0332375168800354, -0.21176017820835114, -0.03312985226511955, 0.03367094695568085, 0.040284086018800735, -0.08533311635255814, -0.1012413427233696, -0.5448510646820068, -0.02913997881114483, 0.02393137291073799, -0.18514427542686462, 0.007787392009049654, -0.6113313436508179, 0.08447862416505814, 0.007479350548237562, -0.28091055154800415], [0.10502900183200836, -0.11648264527320862, -0.7716174721717834, -0.11353394389152527, -0.17331814765930176, -0.05743175745010376, -0.07153346389532089, 0.19755885004997253, -0.0005392952007241547, -0.041516732424497604, -0.28742071986198425, 0.22475217282772064, -0.037233855575323105, -0.10243674367666245, -0.09597835689783096, -0.01857391931116581, -0.14221550524234772, -0.02195334993302822, 0.060101382434368134, -0.15517154335975647, 0.14314311742782593, 0.05095119774341583, -0.11313038319349289, 0.15739622712135315], [-0.18225716054439545, -0.24055533111095428, 0.2841918468475342, 0.2660425901412964, 0.258453905582428, 0.1002020388841629, 0.19115619361400604, 0.346771776676178, -0.23511922359466553, -0.05783740058541298, 0.3803366720676422, -0.18993981182575226, 0.19922037422657013, 0.25154897570610046, -0.15321888029575348, 0.1523277759552002, -0.06066642329096794, -0.21741153299808502, -0.24813418090343475, 0.07098575681447983, 0.02341563068330288, 0.0305181834846735, -0.04975679889321327, 0.02928624488413334], [-0.0434519425034523, -0.08104512095451355, 0.15831762552261353, 0.01366458274424076, 0.04005981609225273, 0.10422098636627197, -0.14579887688159943, 0.18451717495918274, -0.22623607516288757, -0.02162514068186283, 0.2353140264749527, -0.3582281470298767, 0.2218748778104782, -0.09667301177978516, 0.1234937533736229, -0.23268988728523254, -0.059377271682024, -0.15428526699543, 0.009690921753644943, 0.12051849067211151, 0.03683558106422424, -0.03431402146816254, 0.08394279330968857, 0.3484683036804199], [0.03677770495414734, 0.16127069294452667, -0.09005554020404816, 0.06592877954244614, 0.11792150139808655, 0.18525433540344238, 0.022834856063127518, 0.05476842820644379, 0.033041536808013916, -0.179906964302063, -0.09382814168930054, 0.017467573285102844, -0.03645704314112663, 0.0025617165956646204, -0.03503751754760742, 0.2728450298309326, 0.004047152120620012, 0.03087310679256916, 0.02190701849758625, -0.024475855752825737, -0.8665406703948975, 0.055811915546655655, 0.10540822893381119, -0.11256559938192368], [0.28345608711242676, -0.02576788142323494, 0.08157319575548172, -0.14751243591308594, 0.17020659148693085, 0.15324805676937103, -0.09868911653757095, 0.17406418919563293, -0.06406471878290176, -0.2978455722332001, 0.2703362703323364, -0.07375262677669525, 0.33589959144592285, 0.10778296738862991, 0.3469502925872803, -0.13853886723518372, -0.13209614157676697, 0.17156779766082764, 0.09863986819982529, 0.0802905336022377, 0.3797810673713684, 0.020200658589601517, 0.34342604875564575, 0.16916130483150482], [-0.6709203124046326, -0.014048449695110321, 0.01154141966253519, 0.011761016212403774, -0.5090343356132507, 0.03616206347942352, -0.032754018902778625, -0.4301162362098694, 0.2107546627521515, 0.021465880796313286, 0.051353879272937775, -0.10152263939380646, -0.021878253668546677, 0.0441322922706604, 0.040508970618247986, -0.013957569375634193, -0.039401594549417496, 0.11782233417034149, 0.03209937363862991, 0.017413180321455002, 0.023757610470056534, 0.1325882077217102, 0.06247168779373169, -0.04180210456252098], [-0.06055128574371338, 0.23821523785591125, 0.1345510333776474, 0.10094325989484787, -0.32890957593917847, -0.13860414922237396, 0.0274167712777853, 0.04835829511284828, -0.044592589139938354, -0.045963775366544724, 0.30467167496681213, 0.11158721148967743, 0.2612757086753845, -0.0020021412055939436, -0.3606506288051605, -0.04559606313705444, -0.09458916634321213, -0.3984164595603943, -0.370441198348999, -0.30100497603416443, -0.08734258264303207, 0.1444801390171051, 0.17963702976703644, 0.03163093328475952], [-0.4907028377056122, 0.12018755823373795, 0.005746933165937662, 0.16513916850090027, -0.2187795341014862, 0.18062476813793182, -0.2628423869609833, -0.20831727981567383, -0.34923434257507324, 0.1301674246788025, -0.17489691078662872, 0.4151832163333893, -0.1048848107457161, 0.11957427114248276, 0.05253269895911217, 0.03828316554427147, -0.0807330459356308, 0.025945834815502167, 0.11613760888576508, 0.06504715234041214, 0.15484288334846497, 0.23779341578483582, -0.20889008045196533, -0.06343580782413483], [-0.154401496052742, 0.04109354317188263, 0.00872939731925726, 0.03735748305916786, -0.034433718770742416, 0.061429742723703384, 0.017934713512659073, 0.09125891327857971, -0.9080585241317749, 0.03319631889462471, -0.0552559457719326, 0.2254452258348465, 0.06924699991941452, 0.11657703667879105, 0.10415641218423843, 0.0562569685280323, 0.07710058242082596, 0.10791976749897003, 0.06886554509401321, 0.01833711564540863, 0.06573767960071564, 0.03273986652493477, -0.13368405401706696, 0.03880495950579643], [-0.05806724727153778, 0.0611872673034668, 0.068465955555439, 0.008280977606773376, 0.1983008086681366, -0.03833156079053879, 0.025733651593327522, -0.7104165554046631, 0.08640649169683456, -0.1591247171163559, -0.034619733691215515, 0.025675173848867416, -0.012169617228209972, 0.05616629868745804, -0.5094966292381287, -0.045293889939785004, -0.2078893482685089, 0.0475928857922554, 0.011971581727266312, -0.19429950416088104, -0.043950632214546204, 0.008072637021541595, -0.22037024796009064, -0.09196440130472183], [-0.447494775056839, 0.06114723160862923, 0.06667780131101608, 0.09146696329116821, -0.1405036300420761, 0.10149034857749939, 0.015707509592175484, -0.4563886225223541, 0.20628592371940613, 0.09300939738750458, -0.010479165241122246, 0.46058398485183716, 0.2327260822057724, -0.16552546620368958, -0.06127045303583145, -2.7322666937834583e-05, 0.036950770765542984, 0.14878611266613007, -0.026902219280600548, -0.04628951475024223, 0.014687187038362026, 0.038270387798547745, -0.4024067223072052, -0.07662452012300491], [0.246510848402977, -0.22243542969226837, -0.2238638550043106, -0.22994206845760345, 0.013226156122982502, -0.10289689898490906, 0.09017995744943619, -0.013972378335893154, -0.02288314700126648, 0.06908585131168365, -0.1029697060585022, 0.0329950749874115, 0.5455052852630615, 0.05694130063056946, -0.3655085265636444, -0.15718527138233185, 0.12670475244522095, 0.2566099762916565, 0.20938792824745178, -0.24742624163627625, -0.008335640653967857, 0.2900978922843933, -0.010234609246253967, 0.12097872793674469], [-0.10880797356367111, -0.1974513977766037, 0.07876323163509369, -0.04307784140110016, -0.029490696266293526, 0.054823897778987885, 0.08425354957580566, -0.07329066097736359, 0.03952600806951523, -0.22139579057693481, 0.013609570451080799, -0.10568798333406448, -0.3356970250606537, 0.12246721982955933, 0.3352162539958954, -0.11838565021753311, -0.08216065913438797, 0.1760478913784027, 0.20706376433372498, 0.07065310329198837, 0.003271047491580248, -0.4084167182445526, -0.5606280565261841, 0.20501236617565155], [-0.5496505498886108, 0.14971041679382324, 0.07554548978805542, 0.15864470601081848, 0.16361252963542938, 0.11037806421518326, 0.0914623960852623, -0.17222720384597778, -0.10803256183862686, 0.20898737013339996, -0.018970128148794174, 0.15812012553215027, 0.04608023539185524, -0.08353789895772934, -0.05063233524560928, -0.04277871176600456, -0.08436073362827301, -0.020712442696094513, 0.0058515784330666065, 0.029185347259044647, 0.018099470064044, -0.09459143131971359, -0.6598470211029053, -0.14018186926841736], [0.40540698170661926, -0.321828693151474, 0.1062139943242073, -0.04957863688468933, 0.1465304046869278, -0.026623396202921867, 0.02503953129053116, 0.21032825112342834, 0.21853184700012207, -0.0965396985411644, 0.016963643953204155, -0.18897029757499695, 0.29952389001846313, 0.4611237943172455, -0.11657670885324478, 0.33749523758888245, 0.07368478178977966, 0.030164146795868874, -0.05922669917345047, 0.026310734450817108, 0.17944706976413727, 0.10398134589195251, 0.03351476043462753, 0.1401718407869339], [0.18542970716953278, -0.5457965731620789, -0.09362517297267914, -0.17133575677871704, 0.09836681932210922, -0.08110903948545456, 0.003238832112401724, 0.08879635483026505, 0.11446178704500198, -0.25925129652023315, -0.1610592156648636, 0.13095314800739288, 0.06521764397621155, 0.14680619537830353, 0.2844754755496979, 0.22831733524799347, -0.13001616299152374, 0.10301420837640762, 0.4549731910228729, 0.1171618178486824, 0.08395598083734512, -0.16366936266422272, -0.024555081501603127, 0.18038174510002136], [-0.0704566091299057, -0.20929105579853058, -0.14304952323436737, -0.3493116796016693, -0.22641080617904663, 0.09536857157945633, -0.04741998389363289, 0.08628198504447937, 0.17093877494335175, -0.33576446771621704, -0.1817716807126999, 0.23760592937469482, -0.09982139617204666, 0.10237067937850952, 0.32249704003334045, 0.12380831688642502, 0.0892624780535698, 0.2276553511619568, 0.36433520913124084, -0.0060160900466144085, 0.277026891708374, -0.16187922656536102, 0.1301799714565277, 0.22964917123317719]], "biases": [0.25117024779319763, 0.9941853284835815, 0.36126476526260376, -0.24999181926250458, 0.9886385798454285, -0.007798762526363134, 0.2657663822174072, 0.44972872734069824, 0.6642351150512695, 0.45058488845825195, -1.2512400150299072, 0.7017156481742859, 0.2570798695087433, 0.46916741132736206, -0.01737963780760765, -0.09869054704904556, 0.2047797292470932, 0.01528152171522379, 1.0516750812530518, 0.7261877059936523, -0.3206084966659546, 0.693143904209137, 0.7072448134422302, 0.29203593730926514]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.01667732000350952, -0.04650995135307312, 0.35113489627838135, -0.24785688519477844, 0.02117963321506977, -0.060769882053136826, -0.3617430329322815, -0.11707046627998352, 0.14431481063365936, 0.25615194439888, -0.36915358901023865, -0.19933168590068817, -0.1527910977602005, 0.09539277851581573, 0.30278727412223816, -0.00500792870298028, -0.14619609713554382, 0.11214904487133026, -0.1642841398715973, 0.1774841696023941, 0.13991722464561462, -0.37230509519577026, -0.1204533502459526, 0.13117855787277222], [-0.02454264648258686, -0.13005681335926056, 0.4406808912754059, -0.1540980339050293, 0.058667100965976715, -0.025880832225084305, -0.2622835040092468, -0.15856896340847015, 0.1596485674381256, 0.08297104388475418, -0.3432732820510864, -0.1893203854560852, 0.03441120311617851, 0.10972583293914795, 0.17257888615131378, 0.00434371130540967, -0.4565337598323822, -0.0631309524178505, -0.1991795152425766, 0.1472584754228592, 0.22154253721237183, -0.3831000328063965, -0.104764424264431, 0.11507352441549301], [-0.022563425824046135, -0.19329756498336792, 0.3362788259983063, -0.3025447130203247, 0.14812465012073517, -0.03302893415093422, -0.3541688323020935, -0.2991234362125397, 0.17929670214653015, 0.13236311078071594, -0.2928670048713684, -0.24258781969547272, -0.09804823249578476, 0.18033739924430847, 0.20891831815242767, 0.12428651750087738, -0.7741289138793945, 0.24376718699932098, -0.22720108926296234, 0.19613581895828247, 0.14487750828266144, -0.2820572555065155, -0.1841895878314972, 0.1833472102880478], [-0.05769368261098862, -0.25628402829170227, 0.2544006407260895, -0.7493008375167847, 0.20950289070606232, -0.06835643947124481, -0.46522605419158936, -0.37677812576293945, 0.21944113075733185, 0.05458884686231613, -0.2855377495288849, -0.23282459378242493, 0.13718923926353455, 0.2699487507343292, 0.05917060747742653, 0.32785022258758545, -1.1951338052749634, 0.13905832171440125, -0.24427755177021027, 0.25738129019737244, 0.37452903389930725, -0.2489532083272934, -0.19334420561790466, 0.16964219510555267], [-0.09405291825532913, -0.3448895215988159, 0.15995407104492188, -1.1915442943572998, 0.23509353399276733, -0.05562770739197731, -0.5392571091651917, -0.5042438507080078, 0.3186751902103424, -0.1139908879995346, -0.07171054184436798, -0.17580053210258484, 0.17488700151443481, 0.3880448341369629, 0.25261983275413513, 0.12494394183158875, -1.350638747215271, -0.18069340288639069, -0.1804646998643875, 0.3616832494735718, 0.5292145013809204, -0.359582781791687, -0.14203056693077087, 0.1303599625825882], [-0.29790058732032776, -0.4744393825531006, -0.08012187480926514, -1.3209726810455322, 0.2786283493041992, -0.1409633755683899, -0.673742949962616, -0.6288173198699951, 0.25882554054260254, 0.1371307671070099, 0.018612302839756012, -0.2909794747829437, -0.1321478933095932, 0.4991564452648163, 0.4689435660839081, 0.2773106098175049, -1.7525899410247803, 0.1784202754497528, -0.1654704511165619, 0.608328104019165, 0.4346509277820587, -0.1006060540676117, -0.36706265807151794, 0.2538611888885498], [-0.43064582347869873, -0.5252706408500671, 0.10719883441925049, -1.4499632120132446, 0.3023681342601776, -0.20600908994674683, -0.7620503306388855, -0.6216483116149902, 0.20441517233848572, -0.13725030422210693, 0.1723715215921402, -0.24101486802101135, -0.0940234437584877, 0.563382089138031, 0.4988720715045929, 0.07772654294967651, -1.804267406463623, 0.1867319941520691, -0.17522494494915009, 0.6990690231323242, 0.15451380610466003, -0.11893155425786972, -0.2758583128452301, 0.04144921526312828], [-0.5834220051765442, -0.540898859500885, 0.07159923017024994, -1.6819218397140503, 0.37793540954589844, -0.21168458461761475, -0.9760894179344177, -0.6814698576927185, 0.07183714210987091, -0.09512516111135483, 0.219553604722023, -0.20088890194892883, 0.25322869420051575, 0.6254057288169861, 0.291385680437088, 0.4067431390285492, -2.007699489593506, 0.22753188014030457, -0.20666731894016266, 0.8015117049217224, 0.20429125428199768, -0.06333446502685547, -0.3635089695453644, -0.04308613762259483], [-0.6181454062461853, -0.5535979866981506, 0.11075162142515182, -1.786673665046692, 0.44757071137428284, -0.14242640137672424, -1.0545117855072021, -0.6329737901687622, -0.06388010084629059, -0.09374865144491196, 0.45109015703201294, -0.15842296183109283, 0.060278989374637604, 0.6672624945640564, 0.3978002369403839, 0.21251606941223145, -1.9003082513809204, 0.39037156105041504, -0.21054911613464355, 0.8583893179893494, 0.007145499344915152, -0.15904544293880463, -0.31248578429222107, -0.22705264389514923], [-0.7008888721466064, -0.6491990685462952, -0.04570210352540016, -1.858400583267212, 0.4823155999183655, -0.12426947057247162, -1.1348443031311035, -0.6311399340629578, -0.13959722220897675, 0.07506082206964493, 0.48633602261543274, -0.1582716852426529, 0.36564943194389343, 0.7126872539520264, 0.28308239579200745, 0.5243567824363708, -1.975245714187622, 0.2536168098449707, -0.2033592313528061, 0.9301771521568298, 0.2507021427154541, -0.14095814526081085, -0.3326539993286133, -0.28839921951293945], [-0.6754691004753113, -0.6805388927459717, 0.12519848346710205, -1.92677903175354, 0.48100176453590393, -0.09196934103965759, -1.0879878997802734, -0.6330581307411194, -0.1669682413339615, -0.0750289112329483, 0.6958895325660706, -0.16691192984580994, 0.23011614382266998, 0.7638489007949829, 0.49751752614974976, 0.0167491864413023, -2.03254771232605, 0.11053244769573212, -0.14586834609508514, 0.951850414276123, 0.02113359048962593, -0.2641569674015045, -0.17842726409435272, -0.430389404296875], [-0.7494082450866699, -0.6908974051475525, -0.14195527136325836, -2.036330223083496, 0.4890822172164917, -0.05787332355976105, -1.155704140663147, -0.643557608127594, -0.22323594987392426, 0.1891990303993225, 0.653405487537384, -0.16482305526733398, 0.3259921371936798, 0.7424386143684387, 0.42676445841789246, 0.46554744243621826, -2.002014636993408, 0.12426148355007172, -0.1504182666540146, 0.9979540705680847, 0.30139467120170593, -0.19024842977523804, -0.3673672378063202, -0.29284948110580444]], "biases": [0.16477791965007782, 0.16641229391098022, 0.0665430873632431, -0.01676448993384838, -0.026301346719264984, -0.04384647309780121, -0.085999496281147, -0.21175113320350647, -0.19799759984016418, -0.19574978947639465, -0.2498229295015335, -0.25054100155830383]}}

# def normalize(arr, mx, mn):
#     for i in range(len(arr)): 
#         for j in range(len(arr[i])):
#             arr[i][j] = arr[i][j]*100 / (mx - mn)
    
#     return arr

def relu(x):
    return max(0.0, x)

def custom_predict(input):
    for key, layer in layers.items(): 
        # print(layer)
        config = layer["config"]
        weights = layer["weights"]
        biases = layer["biases"]

        # print(config)
        neurons = config["units"]
        output = [0]*neurons

        for n in range(neurons):
            activation = 0

            assert len(input) == len(weights[n])

            for (i, w) in zip(input, weights[n]): 
                activation += i * w
            activation += biases[n]
            
            # print(activation)
            if(config["activation"] == 'relu'):
                output[n] = relu(activation)
            else: 
                output[n] = activation
        
        input = output 

    return input

# import sys 
# import numpy as np
# file = open("data.txt", "r")
# sys.stdin = file
# total_correct = 0
# total_incorrect = 0

data = []
days = int(input())

for i in range(days):
    temps = [float(x) for x in input().split()]
    data.append(temps)

for d in data: 
    ans = custom_predict(d[:24])
    print(" ".join([format(x, ".1f") for x in ans]))

#     truth = d[24:]
#     diff = np.abs(np.array(ans) - np.array(truth)) 
 
#     correct = np.count_nonzero(diff < 0.75)
#     incorrect = np.count_nonzero(diff >= 2.05)
 
#     total_correct += correct
#     total_incorrect += incorrect


# score = 25 * (total_correct - total_incorrect) / days
# print(total_correct, total_incorrect, score)
# file.close()

Test details

Test 1

Verdict: ACCEPTED

input
1000
-0.4 -0.1 -0.2 -0.3 -0.4 -0.5 ...

correct output
0.4 0.4 0.5 0.8 0.9 1.1 1.3 1....

user output
0.2 0.2 0.2 0.2 0.2 0.1 0.1 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.7 2.6 2.5 2.4 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
9.8 9.8 9.4 8.9 8.0 7.0 6.2 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.5 17.7 17.5 17.4 16.8 16.1 ...
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.1 -4.2 -4.3 -4.5 -4.7 -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
12.9 13.0 12.7 12.3 11.5 10.8 ...
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.0 -2.0 -2.2 -2.5 -2.9 -3.3 ...
Truncated

Test 8

Verdict: ACCEPTED

input
1000
15.1 15.3 14.9 14.4 14.4 13.7 ...

correct output
15.6 15.9 16 15.2 14.6 14.4 13...

user output
15.0 15.2 15.1 15.0 14.5 14.0 ...
Truncated