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

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.19494104385375977, 0.07612334936857224, 0.1638256013393402, 0.09197160601615906, -0.014120562933385372, -0.3934583365917206, -0.20917345583438873, -0.11899340897798538, -0.04008376970887184, 0.33282142877578735, 0.23420432209968567, 0.3769625127315521, 0.39122557640075684, 0.6010939478874207, 0.0414811335504055, -0.3106534779071808, -0.5394156575202942, -0.23433853685855865, -0.5381916165351868, 0.00251308036968112, -0.3829284906387329, 0.035330772399902344, 0.41711926460266113, -0.2614569664001465], [-0.333996444940567, 0.10097111016511917, 0.3863225281238556, 0.09642685949802399, -0.049496784806251526, 0.3629775941371918, 0.2337024211883545, -0.07422760874032974, -0.238084614276886, 0.0844743475317955, -0.3909905254840851, 0.27111300826072693, -0.01998879387974739, -0.30391961336135864, -0.07344335317611694, 0.3864526152610779, 0.16184400022029877, 0.16616374254226685, -0.014783704653382301, 0.2602698504924774, 0.05501975119113922, -0.24504072964191437, -0.014962312765419483, 0.2686574459075928], [-0.15670263767242432, -0.00999264232814312, 0.08122869580984116, -0.2754915654659271, -0.04789955914020538, -0.06290964782238007, 0.2441348284482956, -0.12566348910331726, 0.08991888910531998, 0.12148014456033707, 0.40534529089927673, 0.2386379837989807, 0.20657917857170105, -0.03712605684995651, -0.43062350153923035, -0.007102047558873892, 0.16203051805496216, -0.059741415083408356, -0.14280764758586884, 0.14081571996212006, 0.11187898367643356, -0.2575691044330597, -0.2175794243812561, -1.25333833694458], [-0.11399407684803009, -0.17268237471580505, -0.15073266625404358, -0.2655901610851288, 0.019193710759282112, 0.25808438658714294, 0.44569268822669983, -0.009389135986566544, 0.27020108699798584, -0.0596940703690052, 0.2713455855846405, -0.10943037271499634, 0.33513402938842773, -0.0548938512802124, -0.16626834869384766, -0.40874478220939636, 0.1309884488582611, 0.1098424568772316, 0.0973028838634491, -0.27490612864494324, -0.20124919712543488, 0.12725085020065308, -0.1433795690536499, 0.48476576805114746], [-0.011254193261265755, 0.27321499586105347, 0.4193111062049866, -0.01253232080489397, -0.4036668837070465, -0.32188060879707336, -0.31178030371665955, 0.3895823359489441, 0.3283346891403198, 0.06035461649298668, 0.3628406524658203, 0.48581475019454956, -0.2948014736175537, -0.159898579120636, 0.31660789251327515, -0.1085444763302803, -0.0028155031614005566, -0.21842549741268158, -0.5703575611114502, 0.09522107243537903, -0.09836601465940475, 0.4654994010925293, 0.013163579627871513, -0.17212119698524475], [-0.12434997409582138, -0.0856984332203865, -0.2256479114294052, 0.007055751513689756, 0.23029905557632446, -0.12658852338790894, 0.4661632180213928, -0.08295636624097824, 0.0854862853884697, 0.0528569370508194, -0.08723699301481247, -0.07880660891532898, 0.33359795808792114, 0.27417802810668945, 0.3877713680267334, 0.6476803421974182, 0.4704424738883972, 0.04363567382097244, 0.07515135407447815, -0.14884141087532043, -0.465180903673172, -0.12644687294960022, 0.047454044222831726, -0.6371943950653076], [0.25443392992019653, 0.044393181800842285, -0.011100178584456444, -0.016116205602884293, 0.015836959704756737, -0.40337252616882324, -0.36262568831443787, -0.18550170958042145, 0.2070167511701584, 0.21220019459724426, 0.18032817542552948, 0.2443016618490219, 0.11788616329431534, 0.45196712017059326, 0.20075587928295135, -0.23566888272762299, -0.24487502872943878, -0.339976966381073, -0.15589639544487, -0.0066394321620464325, -0.5115939974784851, 0.13202311098575592, -0.04271060600876808, 0.814551591873169], [0.26807701587677, -0.15108831226825714, -0.09216706454753876, -0.15797525644302368, 0.03247085586190224, -0.044569045305252075, 0.45118221640586853, -0.35720378160476685, 0.059141021221876144, 0.17163020372390747, -0.16530407965183258, -0.4461151361465454, -0.07899508625268936, -0.20485614240169525, 0.21014048159122467, -0.39914488792419434, -0.2841727137565613, 0.18481555581092834, -0.13358727097511292, 0.423290878534317, 0.17532764375209808, 0.09269450604915619, -0.11768999695777893, -0.6484946012496948], [0.14092984795570374, 0.0586724691092968, -0.04989219084382057, -0.3032248616218567, -0.29533010721206665, -0.21582724153995514, -0.1412479430437088, -0.20179057121276855, -0.007141122594475746, 0.49535009264945984, 0.34503763914108276, 0.03885452821850777, 0.09994108974933624, 0.057229191064834595, -0.3758365511894226, 0.16441978514194489, 0.10850405693054199, 0.5379360914230347, 0.2939736843109131, 0.32449185848236084, -0.5586400628089905, 0.25901955366134644, -0.09434241056442261, -0.9845383167266846], [-0.04617217928171158, -0.1995895355939865, 0.18649177253246307, 0.16453559696674347, -0.04659629240632057, -0.17335011065006256, 0.16583514213562012, -0.07527655363082886, -0.05171797797083855, 0.10258600860834122, -0.10161657631397247, -0.13884024322032928, -0.22137175500392914, 0.031302038580179214, -0.1002427339553833, 0.10882921516895294, -0.04018396884202957, -0.2224401980638504, -0.043696071952581406, 0.008920752443373203, 0.13602875173091888, 0.16685496270656586, 0.22883623838424683, 1.069372296333313], [0.13887427747249603, 0.01660522073507309, -0.313558965921402, 0.0368109829723835, 0.005648268386721611, 0.5936431884765625, -0.1875375360250473, 0.23908179998397827, -0.1915886551141739, -0.12410885095596313, -0.011704779230058193, -0.09882031381130219, 0.021202608942985535, -0.17134098708629608, -0.15387167036533356, -0.2900974452495575, 0.10533016175031662, 0.5906538367271423, 0.15308131277561188, -0.22912050783634186, -0.2586130201816559, -0.5390093922615051, -0.013024676591157913, 1.01874840259552], [-0.012854891829192638, 0.017033467069268227, 0.31613650918006897, 0.21490229666233063, -0.1151064783334732, -0.3075973689556122, -0.05197968706488609, -0.3042605221271515, 0.049599166959524155, -0.16203074157238007, -0.11149325966835022, 0.20818577706813812, 0.10944921523332596, 0.3183194398880005, 0.4263058304786682, 0.5475280284881592, 0.20668461918830872, -0.4358539283275604, -0.5475410223007202, -0.47205013036727905, -0.025257792323827744, 0.5135759115219116, 0.2312398999929428, -0.6242424845695496], [-0.020393988117575645, 0.10700306296348572, -0.02881968766450882, 0.13687026500701904, 0.11300218850374222, 0.028186870738863945, -0.14893902838230133, 0.06048985570669174, 0.023555682972073555, 0.003045608289539814, -0.05895985662937164, -0.13963104784488678, -0.3182433545589447, 0.3793211281299591, -0.15251027047634125, 0.27141350507736206, -0.038643978536129, -0.1161024272441864, -0.22743192315101624, -0.25369611382484436, -0.2348480224609375, -0.2911473214626312, -0.0770564079284668, -0.7203167676925659], [0.40149593353271484, 0.22925731539726257, -0.21231205761432648, 0.01665574684739113, -0.07859724760055542, -0.3362782299518585, -0.5897889733314514, -0.32497578859329224, 0.10919850319623947, 0.20956674218177795, -0.029118014499545097, -0.10857227444648743, -0.44796222448349, 0.2018497884273529, -0.16771048307418823, 0.4948371350765228, -0.040669139474630356, 0.17575562000274658, 0.4802131950855255, 0.16830410063266754, 0.3017418086528778, 0.019704481586813927, -0.40896594524383545, -0.41290923953056335], [0.2557406723499298, 0.052671223878860474, 0.15780071914196014, 0.07136783748865128, -0.1730850487947464, -0.09055663645267487, -0.22682900726795197, 0.02290426567196846, 0.34784433245658875, -0.2066277712583542, 0.2946339547634125, -0.2806168496608734, 0.0716758519411087, -0.22503644227981567, 0.09326005727052689, 0.004058428108692169, 0.27717190980911255, 0.07501485198736191, -0.1292201727628708, -0.49393418431282043, -0.1464250683784485, 0.2705894708633423, 0.5924007296562195, -0.6804131865501404], [0.15441393852233887, -0.1004662960767746, -0.3398427367210388, 0.0030984303448349237, 0.10607835650444031, 0.08502848446369171, 0.594884991645813, -0.16184353828430176, 0.3068698048591614, -0.13332724571228027, -0.1088247150182724, -0.40722107887268066, -0.33837834000587463, -0.11646468192338943, -0.3854132890701294, 0.3310219943523407, 0.43133923411369324, 0.28620773553848267, -0.03209112957119942, 0.03576242923736572, 0.2759890556335449, 0.028714051470160484, 0.09872406721115112, -0.7985560297966003], [0.12593506276607513, -0.24526424705982208, -0.13416466116905212, -0.21852999925613403, -0.22494328022003174, -0.06291116029024124, 0.2039884328842163, 0.12564238905906677, -0.3100842535495758, 0.09393379092216492, 0.12766653299331665, -0.4184657335281372, -0.1687745302915573, -0.2704430818557739, 0.02326943352818489, 0.2730216979980469, -0.2793926000595093, -0.3508165776729584, 0.07731130719184875, 0.05865136906504631, 0.5372706651687622, 0.39236801862716675, 0.48677048087120056, -0.05259835720062256], [-0.12908682227134705, -0.27674365043640137, 0.13377884030342102, 0.23986312747001648, 0.7216547727584839, 0.03777923434972763, -0.42860934138298035, -0.3263777196407318, -0.08880019932985306, -0.4921441674232483, 0.11388903111219406, 0.5997185707092285, 0.3091646134853363, 0.08894779533147812, -0.21127746999263763, -0.1257142722606659, -0.4390300512313843, -0.09490424394607544, -0.09763602912425995, 0.3286310136318207, 0.247895285487175, -0.1491922289133072, 0.1889396458864212, -0.20759554207324982], [0.22224536538124084, 0.10164502263069153, 0.07611271739006042, 0.2588620185852051, -0.5044604539871216, -0.08698385208845139, 0.09551610797643661, -0.05668716877698898, -0.36363527178764343, -0.2753884494304657, 0.08352550119161606, 0.4807780683040619, 0.18058788776397705, -0.47125113010406494, -0.11401961743831635, 0.014241011813282967, 0.13406400382518768, -0.3750531077384949, -0.18824678659439087, -0.39730459451675415, 0.3484272360801697, -0.03581508249044418, 0.18042127788066864, 0.18679974973201752], [0.0012485459446907043, -0.10050185769796371, 0.3171504735946655, 0.5812801718711853, 0.018977507948875427, -0.27728989720344543, 0.23497582972049713, 0.38628506660461426, -0.2666911780834198, -0.34310248494148254, -0.04574843496084213, 0.10436105728149414, -0.41464361548423767, -0.015777267515659332, -0.05422540009021759, -0.010647108778357506, -0.18262824416160583, -0.05496317520737648, -0.3910776674747467, 0.08084926009178162, 0.12488743662834167, 0.029520079493522644, 0.05228264629840851, 0.13231036067008972], [0.052179981023073196, 0.20327331125736237, -0.2817264497280121, -0.02524227648973465, 0.23256930708885193, -0.11965960264205933, -0.03653883561491966, 0.07012554258108139, 0.42453742027282715, -0.03851091116666794, -0.29939374327659607, -0.07043231278657913, -0.11219099164009094, 0.004563124850392342, 0.13528046011924744, -0.12645982205867767, 0.23274193704128265, 0.05989670380949974, 0.03850116580724716, 0.0146831925958395, 0.21061687171459198, -0.13775859773159027, -0.051353778690099716, -1.4476993083953857], [-0.04086147993803024, 0.3754560351371765, 0.0012866634642705321, -0.12356136739253998, -0.1037302315235138, 0.15754041075706482, -0.3806055188179016, 0.17636524140834808, 0.4162488281726837, -0.4878845512866974, -0.3108399212360382, -0.22396621108055115, 0.23019470274448395, 0.21017354726791382, 0.3190620243549347, 0.16155906021595, -0.010361853055655956, -0.020034929737448692, -0.22355298697948456, -0.38423630595207214, 0.0033080163411796093, -0.10344855487346649, 0.2763683795928955, -0.6127064228057861], [-0.1297488957643509, -0.4649463891983032, 0.09178163856267929, -0.020367112010717392, -0.3495417833328247, 0.21549344062805176, 0.3614511787891388, -0.018364382907748222, -0.36695805191993713, 0.4981020390987396, 0.3943895101547241, 0.511924147605896, 0.11938947439193726, -0.0686512291431427, 0.05001780018210411, -0.3894936740398407, -0.0851530060172081, 0.3842279314994812, 0.15611816942691803, -0.37060466408729553, -0.6800962686538696, -0.4217785596847534, -0.2868192791938782, 0.0690271407365799], [-0.025458309799432755, -0.07161126285791397, -0.15777283906936646, -0.035815831273794174, 0.3912712037563324, -0.1427183896303177, -0.1310185343027115, 0.276195228099823, 0.3851812481880188, -0.19242703914642334, 0.0859612300992012, -0.09132570773363113, 0.0964047908782959, -0.022037865594029427, 0.19168633222579956, 0.3619197905063629, -0.0069896141067147255, 0.13741740584373474, 0.20627909898757935, -0.023991845548152924, 0.12440281361341476, 0.2527059018611908, 0.3234979212284088, 0.49169838428497314]], "biases": [-1.4454922676086426, -0.5893474817276001, -0.4641115963459015, -0.06385282427072525, -0.07839462161064148, 1.3786838054656982, 0.14922285079956055, -0.5089031457901001, -0.1604968160390854, 0.6040586829185486, -1.4853981733322144, 0.5430682897567749, 1.0027307271957397, 1.7135964632034302, 0.7149532437324524, 1.5707347393035889, -1.9953025579452515, -0.015147780999541283, -2.0772008895874023, -0.7472911477088928, -0.009085798636078835, -1.0918461084365845, -0.4044557213783264, -0.04362444579601288]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.3522091805934906, 0.09562326967716217, -0.32197311520576477, 0.001111350255087018, -0.022028246894478798, 0.12621907889842987, 0.14961139857769012, 0.08035537600517273, -0.3885672092437744, 0.08110837638378143, 0.1907869130373001, -0.5474786162376404, 0.12745574116706848, 0.1326323002576828, -0.02138078212738037, 0.09825652837753296, -0.067032590508461, -0.14730654656887054, -0.3012770712375641, -0.07966944575309753, -0.11328890174627304, -0.01613500714302063, 0.06196705996990204, 0.15472297370433807], [0.05813119187951088, -0.17776106297969818, 0.07549892365932465, 0.12982940673828125, -0.03229933977127075, 0.12320490926504135, -0.2441510409116745, -0.15485455095767975, -0.14455634355545044, -0.19175001978874207, -0.10924156755208969, -0.3647974133491516, -0.020157473161816597, 0.06281788647174835, 0.09759759157896042, -0.25255370140075684, 0.01562378741800785, 0.06556601077318192, -0.35433080792427063, -0.1478787064552307, -0.27971524000167847, -0.35011690855026245, -0.3049153685569763, -0.3412642180919647], [0.211574524641037, -0.16823448240756989, 0.01897830329835415, -0.1667616367340088, -0.3568991720676422, -0.4667096436023712, 0.035632506012916565, -0.038699712604284286, -0.5317538380622864, -0.008444189094007015, 0.23122148215770721, 0.06912056356668472, 0.0193305853754282, -0.1508033573627472, -0.1821308135986328, -0.17342522740364075, 0.008953842334449291, 0.22639746963977814, 0.02708400972187519, 0.09830619394779205, -0.05765534192323685, -0.015911320224404335, -0.24093835055828094, -0.0010883545037359], [-0.13430532813072205, 0.09921106696128845, -0.5011723637580872, 0.11076131463050842, 0.07766682654619217, -0.02574755996465683, 0.03505829721689224, 0.07543528079986572, -0.4723857641220093, 0.049746956676244736, 0.03151819854974747, 0.2100878655910492, -0.01453850232064724, 0.20438364148139954, -0.18707892298698425, -0.1878754049539566, 0.24912633001804352, -0.03297888860106468, 0.003047377336770296, 0.05375200882554054, 0.0803510844707489, 0.09451502561569214, -0.47187474370002747, 0.07648348808288574], [0.022887282073497772, 0.0830257311463356, -0.5564073920249939, 0.0728648379445076, 0.02047431468963623, -0.050686899572610855, 0.08214958757162094, 0.14065931737422943, -0.1528313308954239, 0.39432358741760254, 0.22673486173152924, 0.13208290934562683, -0.09491322189569473, 0.1779354214668274, -0.043747060000896454, -0.22822724282741547, 0.13811413943767548, -0.011193559505045414, -0.08707183599472046, 0.07666376233100891, 0.21779832243919373, 0.17743800580501556, -0.3457536995410919, 0.22152310609817505], [0.3642631471157074, 0.14966778457164764, -0.32466912269592285, 0.0495401993393898, -0.016164526343345642, 0.12361574918031693, 0.18669657409191132, 0.03109004907310009, -0.4716244339942932, 0.00226133456453681, 0.08651884645223618, -0.46631237864494324, 0.18088755011558533, 0.12641119956970215, -0.07252109050750732, 0.11579683423042297, -0.006427566986531019, -0.28490138053894043, -0.17184987664222717, -0.14145581424236298, -0.13788525760173798, -0.09065179526805878, -0.007653035223484039, 0.08573105186223984], [-0.3569145202636719, 0.05151231586933136, 0.18172065913677216, 0.0873701199889183, 0.04514181241393089, -0.011169333010911942, -0.013543710112571716, -0.11103541404008865, 0.4446965754032135, 0.19729681313037872, 0.22119441628456116, 0.2443201094865799, -0.3663591146469116, -0.08803202211856842, -0.12158862501382828, -0.08341292291879654, 0.12381985783576965, 0.0393756665289402, 0.2806777060031891, 0.08536669611930847, 0.04244567081332207, -0.3776465654373169, 0.17729412019252777, 0.14524529874324799], [0.07897394150495529, -0.033753592520952225, 0.19505956768989563, -0.10560857504606247, -0.05478446185588837, -0.05078108236193657, 0.08107193559408188, -0.05624488741159439, -0.5231637358665466, 0.107495978474617, 0.07261240482330322, -0.04933428764343262, -0.021283667534589767, 0.07077108323574066, 0.1070488840341568, -0.049212660640478134, -0.12421490252017975, 0.18608088791370392, -0.06342928111553192, 0.04141222685575485, -0.0625600814819336, 0.14715035259723663, -0.7300467491149902, 0.009958101436495781], [0.04589914530515671, -0.022830257192254066, 0.04851663485169411, -0.0870780199766159, -0.5737230777740479, 0.45198139548301697, -0.3822193741798401, 0.0027622871566563845, -0.1579085886478424, 0.15268273651599884, -0.36643391847610474, 0.15408767759799957, 0.037998951971530914, -0.0485524907708168, -0.026019006967544556, -0.07405874878168106, 0.2316829264163971, 0.011755489744246006, 0.0665602907538414, -0.0024190491531044245, 0.005522550083696842, 0.06150861456990242, 0.08224079012870789, -0.1406974047422409], [0.13424286246299744, -0.10639359802007675, 0.062052659690380096, 0.13166847825050354, -0.06677454710006714, 0.21121659874916077, -0.33529555797576904, 0.18826521933078766, 0.3514094948768616, -0.15867355465888977, -0.019376389682292938, 0.4562225043773651, 0.23402167856693268, 0.06289148330688477, 0.18738257884979248, 0.2774679958820343, 0.1823703944683075, -0.08768321573734283, 0.0789608284831047, -0.07897195965051651, 0.35561296343803406, 0.11114126443862915, -0.11804798245429993, 0.026350269094109535], [0.31459853053092957, -0.03812655061483383, 0.09190848469734192, -0.015394927002489567, 0.05993326008319855, -0.1279638260602951, 0.1730559915304184, 0.027031365782022476, -0.5727476477622986, 0.11445413529872894, 0.2874163091182709, 0.04503824934363365, 0.05090678855776787, -0.3511960506439209, -0.13589391112327576, 0.16184911131858826, 0.06272770464420319, 0.10718978941440582, -0.12744320929050446, 0.15473465621471405, -0.01554461196064949, 0.09751991182565689, -0.41930028796195984, -0.04385905712842941], [-0.1303098201751709, 0.05588051304221153, 0.15916113555431366, 0.10996858030557632, -0.1545584499835968, -0.051217999309301376, 0.04663565754890442, 0.0031193650793284178, -0.16802029311656952, -0.14786674082279205, 0.0494496114552021, -0.13763946294784546, -0.22342997789382935, 0.10368188470602036, -0.14915290474891663, 0.1505877673625946, -0.18028759956359863, 0.419065922498703, -0.24189972877502441, -0.1021861806511879, 0.3946095407009125, 0.13945718109607697, 0.10941515117883682, 0.07934991270303726], [-0.3280729055404663, -0.0010739597491919994, -0.11568333208560944, -0.08267483115196228, 0.01054834108799696, 0.029344936832785606, 0.09811217337846756, 0.06490828841924667, -0.26868587732315063, 0.09665622562170029, -0.10664301365613937, 0.08842010051012039, -0.37400296330451965, -0.14806123077869415, -0.111239954829216, -0.0844966247677803, -0.04935169592499733, 0.034046437591314316, 0.44680652022361755, -0.12312504649162292, -0.17481102049350739, -0.28970810770988464, 0.4850849509239197, 0.08432196080684662], [-0.1736791878938675, 0.006678008008748293, 0.2131672352552414, 0.09275999665260315, 0.0069464389234781265, -0.0035145641304552555, 0.011445622891187668, -0.40651464462280273, 0.3554551899433136, -0.023056771606206894, 0.12949669361114502, 0.19202452898025513, -0.19994236528873444, 0.12346827238798141, 0.014878202229738235, 0.11665784567594528, 0.04967129975557327, 0.3047056794166565, 0.39110472798347473, 0.05456401780247688, -0.15388835966587067, -0.3854008615016937, 0.2308473438024521, 0.15112458169460297], [0.12555967271327972, -0.26814380288124084, 0.14973802864551544, -0.2592534124851227, 0.17287473380565643, 0.003507851157337427, 0.45831701159477234, -0.09784884005784988, 0.40058010816574097, 0.14816157519817352, -0.07985919713973999, 0.13642993569374084, 0.15846052765846252, 0.061763934791088104, 0.2843663990497589, 0.019610630348324776, 0.2706412076950073, 0.18734432756900787, 0.030889634042978287, -0.03853479027748108, 0.19193553924560547, 0.14769034087657928, -0.21826860308647156, -0.00999857671558857], [0.18515588343143463, -0.1282268762588501, 0.15443645417690277, 0.24618186056613922, -0.07542586326599121, 0.19588248431682587, -0.33713552355766296, 0.24794955551624298, 0.2718474864959717, -0.17420917749404907, -0.12385784089565277, 0.387538343667984, 0.1719057261943817, 0.061111241579055786, 0.11563032865524292, 0.22979982197284698, 0.20329910516738892, -0.018128208816051483, 0.05103657394647598, -0.07626325637102127, 0.4135575592517853, 0.12864090502262115, -0.1424712985754013, 0.018246902152895927], [0.045235078781843185, -0.36462751030921936, -0.021892650052905083, 0.0729406327009201, -0.1415649652481079, 0.09910722821950912, -0.17876355350017548, -0.7469632625579834, 0.27097374200820923, 0.010677027516067028, -0.2615826725959778, -0.026192959398031235, -0.02555060386657715, 0.004070964176207781, -0.08483880758285522, -0.09050427377223969, -0.0006598382024094462, -0.05558368191123009, 0.05060352385044098, 0.001114697428420186, -0.2487153857946396, -0.05560648813843727, 0.044119998812675476, -0.07483968883752823], [-0.009615291841328144, -0.30755624175071716, 0.09383559226989746, -0.05149972438812256, 0.05211073160171509, -0.12854886054992676, 0.024655858054757118, 0.08499965816736221, 0.03754077106714249, -0.021198853850364685, 0.12709487974643707, -0.04269290715456009, 0.008586004376411438, 0.017479918897151947, -0.028864378109574318, 0.03746457397937775, 0.07597039639949799, 0.2018882781267166, -0.018984302878379822, 0.002038763603195548, 0.24055983126163483, 0.10517573356628418, 0.08857964724302292, -0.8411650657653809]], "biases": [1.1933735609054565, -0.14384345710277557, 0.3084230422973633, 0.2495381385087967, 0.045208368450403214, 1.409717321395874, -0.10934069007635117, -0.02011784166097641, -1.9107285737991333, 0.4791126549243927, 0.09780199080705643, 0.29336288571357727, -0.020693954080343246, 0.8686060905456543, 0.7217244505882263, 0.707600474357605, -0.2084343284368515, 0.3714277744293213]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.1368395835161209, 0.3367845118045807, 0.026836829259991646, -0.14612708985805511, 0.5122542977333069, 0.13916802406311035, 0.3111329972743988, 0.13833971321582794, -0.08284979313611984, -0.23441043496131897, 0.07685867697000504, -0.03641309589147568, 0.32589054107666016, 0.014782898128032684, 0.057666435837745667, -0.071038156747818, -0.7700566649436951, -0.7830032706260681], [-0.10867075622081757, 0.3822591304779053, 0.053311388939619064, -0.17307628691196442, 0.5610638856887817, 0.39489471912384033, 0.23340290784835815, 0.27771469950675964, -0.10988522320985794, -0.09631185978651047, 0.054873667657375336, -0.1574450582265854, 0.30670878291130066, 0.16297189891338348, -0.025954430922865868, -0.24084198474884033, -1.0815094709396362, -0.5419002175331116], [0.46741756796836853, -0.3197178542613983, 0.019125984981656075, 0.26696696877479553, 0.1899309903383255, -0.07603594660758972, 0.22606825828552246, 0.27024200558662415, -0.06262078136205673, 0.07244928926229477, 0.1447383016347885, -0.16010093688964844, 0.3560025691986084, 0.2750616669654846, -0.07931891828775406, -0.46573498845100403, -1.167988896369934, -0.33966144919395447], [0.3146952986717224, -0.0443304069340229, 0.16527023911476135, 0.12234128266572952, 0.2797517776489258, 0.05355261266231537, 0.38175374269485474, 0.18941813707351685, 0.03331930190324783, -0.31828153133392334, -0.04398420825600624, -0.15919601917266846, 0.11807559430599213, 0.19640237092971802, -0.0936216190457344, -0.07624953240156174, -1.4901235103607178, -0.4206015169620514], [0.45973971486091614, -0.06229544058442116, 0.001969807082787156, 0.3514639437198639, 0.11537420004606247, -0.04842238128185272, 0.418271541595459, 0.14203748106956482, 0.2109186053276062, -0.24488022923469543, -0.09032303839921951, -0.11391574144363403, 0.0257272832095623, 0.25456732511520386, -0.1789710521697998, -0.19495347142219543, -2.0502371788024902, -0.2734500765800476], [0.2979864180088043, -0.15253010392189026, -0.17748239636421204, 0.2732328772544861, 0.20289655029773712, 0.1191365122795105, 0.3978232443332672, -0.0651145800948143, 0.3876294791698456, -0.33820950984954834, -0.21476854383945465, -0.05209407955408096, -0.11710259318351746, 0.29213422536849976, -0.21068432927131653, -0.10230430960655212, -2.0144731998443604, -0.2888830006122589], [-0.022132370620965958, 0.3690309524536133, -0.5313342213630676, 0.29008910059928894, 0.16801691055297852, 0.4786207675933838, 0.44709932804107666, -0.1331353783607483, 0.5784776210784912, -0.07937423884868622, -0.2626591622829437, -0.05641534551978111, -0.10767140239477158, 0.3290178179740906, -0.24315303564071655, -0.4209366738796234, -2.491053342819214, -0.09616384655237198], [-0.05315433442592621, -0.3623976707458496, -0.6472665071487427, 0.11003406345844269, 0.33611658215522766, 0.46859100461006165, 0.21201792359352112, -0.3286965787410736, 0.6911847591400146, -0.44376304745674133, -0.3889758884906769, -0.06780886650085449, 0.041881099343299866, 0.4230839014053345, -0.18515048921108246, -0.0577000193297863, -2.4439849853515625, -0.20079344511032104], [0.38442713022232056, 0.2408103346824646, -0.7808136940002441, 0.3655332326889038, 0.041504744440317154, 0.08137158304452896, 0.2789135277271271, -0.3663291931152344, 0.9288731813430786, -0.3044840693473816, -0.4246164560317993, 0.034345321357250214, 0.31314224004745483, 0.32162952423095703, -0.09698967635631561, -0.25498396158218384, -2.5431101322174072, -0.2290402501821518], [0.28857046365737915, -0.049646567553281784, -0.9222743511199951, 0.3590463101863861, 0.06261645257472992, 0.15512219071388245, 0.06216167286038399, -0.3138309121131897, 0.9380946755409241, -0.349639892578125, -0.43448886275291443, -0.0016667336458340287, 0.5339530110359192, 0.52207350730896, -0.14248917996883392, -0.24025775492191315, -3.0677433013916016, -0.07035502791404724], [-0.11450915783643723, 0.18349383771419525, -0.8858351707458496, 0.10198648273944855, 0.25772014260292053, 0.5027998685836792, 0.04335428774356842, -0.24255740642547607, 1.0158305168151855, -0.4395103454589844, -0.5626049041748047, 0.029246889054775238, 0.5446016192436218, 0.49901464581489563, -0.14613951742649078, -0.11473984271287918, -3.2768473625183105, -0.16711270809173584], [0.23352426290512085, -0.1413833498954773, -0.9746155142784119, 0.4613184332847595, -0.21010635793209076, 0.3059593439102173, 0.3970177471637726, -0.029201770201325417, 1.1554813385009766, -0.1925993710756302, -0.5751439332962036, 0.11549779027700424, 0.6027842164039612, 0.3463818430900574, -0.08569833636283875, -0.4219779074192047, -3.9673008918762207, -0.12005697190761566]], "biases": [0.1324979066848755, 0.019230220466852188, -0.08944876492023468, -0.03268502280116081, -0.06469853967428207, -0.16219156980514526, -0.21397286653518677, -0.40745750069618225, -0.35091260075569153, -0.5141170024871826, -0.568773090839386, -0.6054155230522156]}}

# 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.3 0.2 0.1 0.1 -0.1 -0.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.8 2.8 2.7 2.6 2.4 2.2 2.2 2....
Truncated

Test 3

Verdict: ACCEPTED

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

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

user output
10.0 9.8 9.4 8.9 8.1 7.3 6.7 6...
Truncated

Test 4

Verdict: ACCEPTED

input
1000
19.4 20.2 19.1 18.9 18.3 17.3 ...

correct output
18 18.2 17 17.5 17.2 16.2 12 8...

user output
17.4 17.5 17.4 17.0 16.5 15.8 ...
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.1 -4.5 -4.6 -5.0 -5.2 ...
Truncated

Test 6

Verdict: ACCEPTED

input
1000
14.8 14.8 15.4 12.9 11.8 9.7 9...

correct output
11.8 11 11.6 10.8 10.4 10.4 10...

user output
12.7 12.6 12.3 11.8 11.1 10.2 ...
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.8 -2.1 -2.5 -2.8 ...
Truncated

Test 8

Verdict: ACCEPTED

input
1000
15.1 15.3 14.9 14.4 14.4 13.7 ...

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

user output
15.2 15.2 15.1 14.6 14.1 13.5 ...
Truncated