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

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.32793286442756653, -0.2909735143184662, 0.0718473568558693, -0.3065894544124603, 0.444784015417099, -0.15916350483894348, -0.2869760990142822, 0.04120384529232979, -0.005704463925212622, -0.49351996183395386, -0.08758579939603806, -0.3260281980037689, -0.11529532819986343, -0.4437265992164612, 0.027835417538881302, 0.1314856857061386, -0.339656800031662, -0.33221137523651123, -0.5738000273704529, -0.24191699922084808, -0.13480398058891296, -0.4605603516101837, -0.2207944393157959, -1.5765799283981323], [0.32357606291770935, -0.05546605959534645, -0.1476559340953827, 0.3404709994792938, -0.02504482865333557, -0.3959313929080963, 0.11161977797746658, -0.2897507846355438, 0.5165704488754272, 0.20910833775997162, -0.2546364963054657, 0.1354306936264038, 0.11887776851654053, 0.19565433263778687, -0.12732245028018951, -0.14220914244651794, -0.042920615524053574, -0.07224718481302261, -0.005512007512152195, -0.3195185363292694, 0.13968481123447418, -0.21319934725761414, -0.6063764095306396, -1.7988256216049194], [-0.24211068451404572, 0.20804692804813385, 0.35440704226493835, 0.32633599638938904, 0.2038046270608902, 0.013850740157067776, -0.13247855007648468, 0.18519280850887299, -0.5176613926887512, -0.3360394537448883, -0.17005595564842224, -0.1711077094078064, -0.20019562542438507, -0.6588647961616516, -0.2159801721572876, -0.4507770836353302, -0.3849993646144867, -0.0264896247535944, -0.36893707513809204, -0.04531851410865784, -0.6225172877311707, -0.009103882126510143, 0.46633902192115784, 2.423133611679077], [-0.0758233442902565, 0.025894150137901306, 0.5036400556564331, 0.5351755023002625, 0.45290592312812805, 0.28402602672576904, 0.3485350012779236, 0.1681828647851944, 0.32738304138183594, 0.4460327625274658, 0.2840658128261566, 0.3682880699634552, -0.1052083671092987, -0.10623986274003983, 0.27196142077445984, 0.6669301986694336, 0.612146258354187, 0.21248894929885864, 0.14978228509426117, 0.07606322318315506, 0.1396268904209137, 0.3353990316390991, 0.11903634667396545, 1.3821712732315063], [0.05025024712085724, 0.07679296284914017, 0.336647093296051, -0.06418385356664658, 0.5675876140594482, 0.08468306064605713, 0.3353325128555298, 0.3742596209049225, 0.15512654185295105, 0.16725723445415497, 0.17499129474163055, 0.23678681254386902, 0.0910363420844078, 0.15211667120456696, 0.5238716006278992, 0.21045050024986267, 0.40078023076057434, 0.5111194849014282, 0.851245105266571, 0.09904027730226517, 0.49572694301605225, 0.3190269470214844, 0.5425437092781067, 1.3175268173217773], [-0.07402434200048447, 0.05287652462720871, 0.21898411214351654, 0.5543078780174255, 0.6374362111091614, 0.32631155848503113, 0.4279346168041229, 0.6804761290550232, 0.10855697840452194, 0.03726581484079361, 0.13382881879806519, -0.187355637550354, 0.21289126574993134, 0.2433871328830719, 0.1054065003991127, 0.3349319398403168, 0.8043898940086365, 0.6537728905677795, 0.6321508288383484, 0.22945213317871094, 0.15350127220153809, -0.1278398633003235, -0.29924848675727844, 0.2107112556695938], [0.06074986234307289, 0.25558122992515564, -0.1247667521238327, -0.02021528221666813, 0.285224974155426, 0.6234820485115051, 0.6086457967758179, 0.36449652910232544, 0.23885849118232727, -0.07497183233499527, 0.13696347177028656, -0.23812226951122284, 0.03805623948574066, 0.43222776055336, 0.09513920545578003, 0.0799865797162056, 0.347118079662323, 0.31825676560401917, 0.37470439076423645, 0.030776072293519974, 0.3955504894256592, -0.09892839193344116, 0.29510176181793213, 1.3051177263259888], [0.31029120087623596, 0.41359591484069824, 0.6633453369140625, 0.7404829859733582, 0.13590793311595917, -0.1432902067899704, -0.38084787130355835, -0.2397039234638214, -0.07005595415830612, 0.20672911405563354, 0.22071504592895508, 0.15644913911819458, -0.15349364280700684, 0.3968198597431183, 0.18592388927936554, -0.37647587060928345, -0.0646916851401329, -0.16995377838611603, -0.6381331086158752, -0.35073935985565186, 0.029904456809163094, 0.26336073875427246, -0.08856547623872757, -1.1555845737457275], [0.029743259772658348, -0.16093085706233978, -0.20164631307125092, 0.2351340651512146, 0.3193913400173187, 0.06236764043569565, -0.27316728234291077, 0.15393486618995667, -0.12436189502477646, 0.17055882513523102, -0.30597808957099915, 0.14646880328655243, 0.018379565328359604, 0.2139892578125, 0.1355265974998474, -0.002007859293371439, -0.24268056452274323, -0.235348179936409, 0.2584368586540222, -0.010778691619634628, -0.03289994224905968, 0.14852601289749146, -0.2683764696121216, 0.051776815205812454], [-0.30046406388282776, -0.3622008264064789, -0.47786545753479004, 0.22504344582557678, 0.08433075994253159, 0.5782090425491333, 0.3727002739906311, 0.42367738485336304, 0.7121212482452393, 0.6332554817199707, 0.26682615280151367, 0.006978996098041534, 0.006532168015837669, 0.3521803021430969, 0.547873854637146, 0.47502973675727844, 0.23993493616580963, 0.3461313247680664, 0.23949891328811646, 0.025542933493852615, -0.41772380471229553, -0.18339695036411285, 0.3224882483482361, 0.5848857164382935], [0.2462816834449768, -0.09519682824611664, 0.07761684060096741, -0.06538691371679306, 0.12915052473545074, 0.2979739308357239, 0.1693105697631836, 0.19475410878658295, 0.07866495102643967, -0.1100369244813919, 0.3157886862754822, 0.24739988148212433, 0.26303038001060486, -0.1272691935300827, 0.31983357667922974, 0.5141785740852356, 0.3961522579193115, -0.037566009908914566, 0.2465510070323944, -0.06273096799850464, -0.3992287218570709, -0.13723203539848328, 0.34932732582092285, 1.7426230907440186], [-0.211882084608078, 0.30885937809944153, -0.29361554980278015, -0.2679324746131897, -0.11358983814716339, 0.03373144194483757, -0.028924597427248955, 0.12801451981067657, -0.2427872121334076, -0.2271159440279007, -0.07508254796266556, -0.2164601981639862, 0.035617150366306305, 0.17416103184223175, 0.4335188865661621, -0.22007949650287628, 0.18219086527824402, 0.14944279193878174, -0.2499176561832428, -0.07604069262742996, -0.02154368907213211, -0.1472245454788208, -0.40018248558044434, -1.9357815980911255], [0.47175782918930054, -0.09200184047222137, 0.021885832771658897, 0.36951255798339844, 0.4384106695652008, 0.668026328086853, 0.28733929991722107, 0.18603482842445374, -0.1548881083726883, 0.23461131751537323, 0.04046853259205818, 0.2602040767669678, 0.09770108759403229, -0.17175312340259552, 0.08529603481292725, 0.31927961111068726, 0.1377563774585724, 0.5387288928031921, 0.7515979409217834, 0.20426024496555328, -0.13569395244121552, 0.13111568987369537, 0.11152689158916473, 1.6111054420471191], [0.3523845076560974, 0.3807844817638397, 0.07407307624816895, 0.22504550218582153, 0.038296278566122055, -0.2154455929994583, -0.10945495218038559, 0.11784539371728897, 0.16419537365436554, 0.18044765293598175, -0.25390201807022095, -0.2310144603252411, 0.1970425844192505, 0.4515957236289978, 0.4229702055454254, 0.6925444602966309, 0.5425596833229065, 0.3306659460067749, 0.21036824584007263, 0.23468494415283203, 0.35321182012557983, 0.09722767770290375, 0.2085094153881073, 1.1326042413711548], [0.5438745617866516, 0.2732886075973511, 0.6263077855110168, 0.13075107336044312, 0.14400680363178253, 0.17771562933921814, 0.0038732027169317007, 0.16251376271247864, -0.03163057193160057, -0.015521485358476639, -0.13718253374099731, -0.006101750303059816, 0.21524791419506073, -0.3052061200141907, 0.24120362102985382, -0.02545270137488842, 0.2306014448404312, -0.08216314017772675, 0.20680679380893707, 0.1794419288635254, 0.034805137664079666, 0.10571056604385376, -0.6979478001594543, -2.217772960662842], [0.03953851759433746, 0.27395808696746826, 0.39599964022636414, 0.525981605052948, 0.49045276641845703, 0.3309382200241089, 0.6871783137321472, 0.040633995085954666, 0.546087920665741, 0.4804667830467224, -0.32617074251174927, 0.2729063928127289, -0.4071696996688843, -0.30259937047958374, 0.08804763108491898, 0.45168188214302063, -0.04458891600370407, 0.4579758048057556, 0.7961722612380981, 0.4880474805831909, 0.15252365171909332, -0.01542446669191122, -0.05445072799921036, 0.8387636542320251], [-0.00839022547006607, 0.13921533524990082, 0.37489578127861023, -0.02823866717517376, -0.10082677006721497, 0.09749429672956467, -0.2409641295671463, 0.06873765587806702, 0.23678560554981232, -0.33002322912216187, -0.07177466154098511, -0.4572374224662781, -0.291250079870224, 0.09906003624200821, 0.406562864780426, 0.3116455376148224, -0.024394601583480835, -0.1926824301481247, 0.04676618054509163, 0.3321424722671509, 0.005597840994596481, -0.4347277283668518, -0.4825811982154846, -1.323229193687439], [0.5682755708694458, 0.3007393181324005, -0.08526977896690369, 0.11957438290119171, 0.12156114727258682, 0.498678058385849, 0.22765709459781647, 0.6566286683082581, 0.5375444889068604, 0.17878036201000214, -0.35910552740097046, 0.009337808936834335, 0.2376064509153366, -0.39803341031074524, 0.23709551990032196, 0.49010899662971497, 0.21766585111618042, 0.42928633093833923, 0.1760791838169098, 0.6169012188911438, 0.43141114711761475, 0.0171914491802454, 0.25669872760772705, 0.8644499778747559], [1.039872407913208, 0.8863260746002197, 0.6650497913360596, 0.5672775506973267, 1.0517817735671997, 0.6064525842666626, 0.3080858588218689, 0.10204870998859406, -0.05249698460102081, -0.42245814204216003, -0.20109470188617706, -0.24540051817893982, -0.33193346858024597, 0.11910858005285263, -0.46793127059936523, -0.4445972442626953, -0.7189701795578003, -1.1476109027862549, -0.6753543019294739, -0.7058230638504028, 0.0907159149646759, 0.7040355205535889, 0.4198203980922699, 0.5546630620956421], [-0.6369805932044983, -0.4009413421154022, -0.6618574261665344, -0.7406549453735352, -0.053668297827243805, -0.46772176027297974, -0.40365368127822876, -0.5180882215499878, -0.14918121695518494, -0.4634997844696045, -0.07028039544820786, -0.5532968640327454, -0.1247142031788826, 0.23673923313617706, 0.06309360265731812, -0.031728580594062805, -0.03870647773146629, -0.1196829080581665, -0.18139666318893433, 0.18028664588928223, 0.3213784992694855, -0.045656029134988785, -0.4098644256591797, -1.516472339630127], [-0.21770000457763672, -0.22927623987197876, -0.022454015910625458, -0.43814823031425476, 0.11128784716129303, -0.08806837350130081, 0.1510000079870224, 0.24707083404064178, 0.6952019929885864, 0.4561240077018738, 0.556673526763916, 0.36701375246047974, 0.27035287022590637, 0.5622354745864868, 1.018789529800415, 1.1375640630722046, 0.6896303296089172, 0.9003467559814453, 0.6296977996826172, 0.1835927963256836, -0.04113949462771416, -0.2548680305480957, -0.150701642036438, -0.8929077386856079], [0.3427708148956299, -0.035301536321640015, -0.11726568639278412, -0.1643180251121521, 0.2590252757072449, -0.2715059220790863, -0.3097675144672394, 0.06982699781656265, -0.17271414399147034, -0.4498436450958252, 0.08551274240016937, -0.521308422088623, -0.07799497246742249, -0.19058898091316223, 0.23110796511173248, 0.28724801540374756, 0.18672502040863037, 0.030193835496902466, -0.4265023171901703, 0.07255198061466217, -0.16537243127822876, 0.11156697571277618, -0.45183277130126953, -1.322858214378357], [0.24535119533538818, 0.6185624003410339, 0.525280773639679, -0.0085966931656003, 0.1708851307630539, -0.04010570049285889, -0.2464873492717743, 0.03109794110059738, 0.3761914074420929, -0.4036782383918762, -0.11024710536003113, 0.009463711641728878, -0.34372273087501526, -0.08853121846914291, 0.27217134833335876, -0.1609402596950531, 0.30161160230636597, -0.37849053740501404, -0.550818681716919, -0.4299229085445404, -0.29295623302459717, -0.5777146220207214, -0.9407121539115906, -1.7121920585632324], [0.21982663869857788, -0.2870166599750519, -0.0029706903733313084, -0.03831895813345909, -0.18232519924640656, -0.29625773429870605, -0.44885459542274475, 0.11646097153425217, -0.10648730397224426, 0.03766437619924545, -0.5068773627281189, -0.6647971272468567, -0.1507386416196823, -0.23521418869495392, -0.24171823263168335, -0.2430628389120102, -0.3064245581626892, 0.2860652506351471, 0.10511902719736099, -0.07576024532318115, 0.2628292739391327, 0.0798446536064148, -0.6900721192359924, -1.6668570041656494]], "biases": [0.027656596153974533, 0.07671518623828888, 0.27448543906211853, 0.0011559845879673958, 0.02010267600417137, 0.1512421816587448, 0.011181925423443317, 0.3849128484725952, -0.05340835079550743, -0.47729477286338806, 0.5313036441802979, 0.06932264566421509, -0.000991967972368002, 0.1502629816532135, 0.3969925343990326, 0.1695357859134674, 0.01031397469341755, -0.06297954171895981, 0.055555641651153564, -0.04293270409107208, 0.4642101228237152, 0.029721593484282494, -0.009100859053432941, -0.0734366774559021]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.5871108174324036, 0.5065684914588928, -1.2307084798812866, -0.1450272649526596, -0.08605988323688507, 0.22161318361759186, -0.2215992957353592, 0.46366989612579346, 0.09244965761899948, -0.16338907182216644, -0.21785388886928558, 0.7189326286315918, -0.23373574018478394, -0.009848413057625294, 1.2110439538955688, 0.5463536381721497, -0.043286994099617004, 0.40328115224838257, 0.6118854880332947, 0.5622018575668335, -0.2683381140232086, 0.4200555980205536, 0.6114206910133362, 0.4686509370803833], [0.18180301785469055, 0.5080371499061584, -0.22214384377002716, 0.03849538043141365, -0.24844737350940704, 0.1761740744113922, 0.04645507410168648, 0.874938428401947, 0.10811449587345123, -0.380009263753891, 0.10767977684736252, 0.7746762633323669, 0.20850424468517303, 0.09303708374500275, 0.22735919058322906, 0.009396310895681381, 0.3353656232357025, -0.355072557926178, 0.9854227304458618, 0.21383695304393768, -0.453218013048172, 0.6032354235649109, 0.6080334782600403, 0.22374457120895386], [0.09637491405010223, 0.021214956417679787, 1.5281552076339722, 0.10462603718042374, 0.4872138202190399, 0.4936974048614502, 0.28018444776535034, -0.34456247091293335, 0.08525586128234863, 0.1872808188199997, 0.5045804977416992, 0.04713070020079613, 0.008074837736785412, 0.3884941339492798, -0.6139921545982361, 0.49562302231788635, 0.07064593583345413, 0.22715327143669128, -0.016689740121364594, -0.4558318257331848, -0.15741410851478577, 0.2984253168106079, 0.3172362744808197, -0.02175852842628956], [0.556581437587738, 0.4257664978504181, -1.3727421760559082, -0.23510760068893433, 0.14173181354999542, 0.5936650633811951, -0.15923145413398743, 0.12266247719526291, 0.08207178860902786, -0.0801696851849556, 0.011391605250537395, 0.17428986728191376, -0.012827477417886257, -0.18303926289081573, 1.116877794265747, 0.575472354888916, 0.4523930251598358, -0.21786591410636902, 0.408319354057312, 0.39813318848609924, 0.3632940948009491, 0.6929742693901062, 0.10400271415710449, 0.77197265625], [-0.31746339797973633, -0.8558676838874817, 1.7139569520950317, 0.6798136234283447, 0.5628855228424072, 0.11548929661512375, 0.4155026078224182, 0.07593248784542084, -0.290433794260025, 0.1605074554681778, 0.7390473484992981, -0.10765402764081955, 0.42975956201553345, 0.8151922225952148, -0.7336214184761047, 0.40786850452423096, 0.008545328862965107, 0.08172425627708435, -0.2897121012210846, 0.5102500915527344, -0.08554060757160187, 0.09754133224487305, -0.7492353320121765, -0.5243737697601318], [0.04183159023523331, 0.09146707504987717, 1.5665690898895264, 0.5380311608314514, 0.059612248092889786, 0.1216827854514122, 0.2516079545021057, 0.3705379068851471, -0.12314511090517044, 0.06208391487598419, 0.8466833829879761, 0.0658765658736229, 0.5140466690063477, 0.6809180378913879, -1.1730470657348633, 0.35916250944137573, 0.38173234462738037, 0.6904406547546387, 0.14970383048057556, -0.25766679644584656, -0.40902790427207947, 0.4106001555919647, 0.07266271859407425, -0.3395416736602783], [-0.3521821200847626, 0.23068936169147491, -1.7038843631744385, 0.023443706333637238, 0.04295402765274048, 0.3223910927772522, -0.17401598393917084, -0.08272604644298553, -0.3632480502128601, -0.8499463796615601, -0.49987709522247314, 0.16801677644252777, -0.028447814285755157, -0.03344728797674179, 0.903945803642273, -0.4009421169757843, 0.43883833289146423, -0.21190309524536133, -0.7236259579658508, 0.35092824697494507, 1.1355136632919312, 0.401394248008728, -0.39857006072998047, 0.35013994574546814], [0.22365383803844452, 0.6489728093147278, -0.7666783928871155, -0.25252267718315125, 0.3012436032295227, 0.28344130516052246, -0.3557983636856079, 0.13370609283447266, -0.3251460790634155, -0.21551954746246338, -1.3763281106948853, 0.578014612197876, 0.06668199598789215, -0.2680872678756714, 0.6730350852012634, -0.12148924171924591, 0.6645100116729736, 0.3339419364929199, 0.2563777267932892, 0.6816524267196655, 0.9897580146789551, 0.08781616389751434, 0.16010034084320068, 0.3315880298614502], [0.43081140518188477, 0.5127544403076172, -1.4401907920837402, -0.2655732035636902, 0.2904919981956482, -0.1428193300962448, -0.10897870361804962, 0.667939305305481, -0.2368803769350052, -0.07480861246585846, -0.4531996548175812, 0.7088544368743896, -0.35240623354911804, -0.1983797401189804, 1.1296554803848267, 0.1008717492222786, 0.46941402554512024, 0.06255543977022171, 0.8803147673606873, 0.3488747477531433, 0.05208088830113411, 0.2773362696170807, 0.09867499023675919, 0.14316381514072418], [0.4455873370170593, -0.000430995220085606, 1.280052900314331, 0.39837560057640076, 0.7013731002807617, 0.6209774017333984, 0.40490469336509705, -0.13030430674552917, -0.25551676750183105, 0.7942459583282471, 0.4994696378707886, 0.15165846049785614, 0.3399534523487091, 0.06258149445056915, -1.0104012489318848, 0.6765647530555725, 0.08971618115901947, 0.3776898980140686, 0.22755075991153717, -0.2479613721370697, 0.29721322655677795, 0.36248883605003357, -0.2819017171859741, -0.0005684922798536718], [-0.6672890186309814, -0.831275463104248, 0.07185803353786469, 0.5093583464622498, 0.47275614738464355, 0.7849578857421875, 0.5904562473297119, -1.2334094047546387, -0.05116361379623413, 0.8701947331428528, 0.11790940165519714, -0.7315083146095276, 0.4584069550037384, 0.09401637315750122, -0.31967422366142273, 0.5342293381690979, -0.6947203874588013, 0.6137237548828125, 0.11460631340742111, -0.056620724499225616, 0.2948370575904846, 0.2849619686603546, -0.7233592867851257, -1.1995296478271484], [0.38235440850257874, -0.2641538679599762, 0.9505863189697266, 0.6571493744850159, 0.43972331285476685, 0.6058938503265381, 0.46707528829574585, -0.5082236528396606, 0.14821766316890717, 0.6291297674179077, 0.4145669937133789, -0.45715129375457764, 0.7118486762046814, 0.1934337615966797, -0.6464858055114746, 0.6481632590293884, -0.26180943846702576, 0.32938846945762634, 0.30592504143714905, 0.08878287672996521, 0.3640338182449341, 0.3625786006450653, 0.10141263902187347, 0.2809365689754486], [-0.1688404083251953, 0.5717018842697144, 1.7350447177886963, 0.10143502056598663, 0.3665222227573395, -0.10814123600721359, 0.28565627336502075, 0.3145655691623688, -0.3698705732822418, -0.28398895263671875, 0.035736266523599625, -0.3357405364513397, 0.39035266637802124, 0.06811389327049255, -0.7338736653327942, 0.35150423645973206, 0.33018961548805237, -0.024439411237835884, 0.5908305048942566, -0.8082072734832764, -1.4755783081054688, 0.1023394837975502, 0.47776421904563904, -0.08677947521209717], [-0.274583101272583, 0.31273362040519714, 0.0651608258485794, -0.45175862312316895, -0.8528210520744324, -0.7330663800239563, -0.19681057333946228, 0.28211742639541626, 0.1645285040140152, -0.5129966139793396, -0.7423014044761658, 0.11588071286678314, -0.4456362724304199, -0.3503752052783966, -0.06424272805452347, -0.744913637638092, -0.23933106660842896, -0.9717727899551392, 1.6751582622528076, 0.4330328106880188, -0.857282817363739, -0.2225036770105362, -0.11935779452323914, 0.1890774518251419], [0.5073408484458923, 0.6372244954109192, -0.9647896885871887, -0.164758563041687, -0.4126445949077606, 0.09068470448255539, 0.20498761534690857, 0.43684476613998413, -0.1898624747991562, 0.07472319900989532, -0.14419980347156525, 0.1527976244688034, -0.2930419147014618, -0.0049352748319506645, 0.4347617030143738, 0.30860212445259094, 0.12471933662891388, 0.2939853072166443, 0.8130715489387512, 0.6307364702224731, -0.2377849668264389, 0.318042129278183, 0.6878020167350769, 0.6949596405029297], [0.46235987544059753, 0.15383243560791016, -0.9229816198348999, 0.13158367574214935, -0.5091907978057861, 0.2758299708366394, 0.05799739062786102, 0.6394549608230591, -0.1726173311471939, -1.0226237773895264, -0.37428680062294006, 0.33499178290367126, -0.21101732552051544, -0.03954184800386429, 0.9876875877380371, 0.05776910483837128, 0.4322602152824402, -0.487077921628952, 0.4929134249687195, 0.2907463610172272, 0.48817339539527893, -0.10207197070121765, 0.49873682856559753, 0.5393887162208557], [0.015295171178877354, 0.0218639113008976, -0.14343157410621643, -0.30289456248283386, -0.4132111370563507, 0.24152526259422302, 0.11590781807899475, -0.13204051554203033, 0.1063782200217247, 0.2069619596004486, 0.0638665184378624, 0.04092688858509064, -0.2214779257774353, 0.015667036175727844, -0.33262914419174194, 0.07625459134578705, 0.04898799583315849, -0.0793481320142746, -0.31993141770362854, 0.16530780494213104, -0.316132128238678, -0.15803685784339905, -0.3259029686450958, -0.1644888073205948], [0.3998616933822632, 0.19191670417785645, -0.4558435082435608, 0.3960603177547455, -0.16564594209194183, 0.2933562994003296, 0.3260073959827423, 0.29040825366973877, -0.2020435333251953, -0.1768651306629181, -0.18429996073246002, 0.6699241995811462, 0.3589630126953125, -0.2783152461051941, 0.8461487889289856, -0.20160451531410217, 0.1386774629354477, -0.036116741597652435, 0.7710438370704651, 0.4046546518802643, -0.7662485241889954, 0.5525253415107727, 0.4096693694591522, 0.4389774203300476]], "biases": [0.2798795700073242, 0.3184494078159332, 0.2745206952095032, 0.3607413172721863, 0.6572085022926331, 0.30382591485977173, 0.13752883672714233, 0.12916304171085358, 0.22092752158641815, 0.19296666979789734, 0.19077004492282867, 0.2610895037651062, -0.03685211390256882, 0.08591049164533615, 0.38466933369636536, 0.3818129599094391, -0.10409823060035706, 0.04838377609848976]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.9659022688865662, -0.30833086371421814, 0.3319458067417145, -1.0555541515350342, 0.6953169107437134, 1.1200886964797974, -0.6086264848709106, -0.08931712061166763, -0.23274169862270355, 0.10793652385473251, 0.3697788715362549, 0.3096626400947571, 0.9666983485221863, -0.12032154947519302, -0.4802432060241699, -0.4911515414714813, 0.32842445373535156, -0.5492767095565796], [-0.8781884908676147, 0.15143008530139923, 0.6189394593238831, -1.0448395013809204, 0.519435703754425, 0.7727888822555542, -0.8619005680084229, -0.18332086503505707, -0.17290838062763214, 0.26333633065223694, 0.22926710546016693, 0.5138912796974182, 0.8631599545478821, -0.2829480767250061, -0.6492252945899963, -0.7105491757392883, 0.17514432966709137, -0.6186752319335938], [-1.0160537958145142, -0.15516076982021332, 0.6429674029350281, -0.4048391282558441, 0.6297263503074646, 0.39226630330085754, -1.2356836795806885, -0.3493201732635498, -0.16684754192829132, 0.7038148641586304, 0.27011674642562866, 0.08513639867305756, 1.1957610845565796, -0.33526769280433655, -0.5157058835029602, -0.7794021368026733, -0.31338387727737427, -0.5939947366714478], [-0.3900429606437683, -0.2449619621038437, 0.47528016567230225, -0.7408077716827393, 0.536777138710022, 0.5983243584632874, -1.2099580764770508, -0.17130765318870544, -0.5077829957008362, 0.5811416506767273, 0.17050564289093018, 0.3709314167499542, 1.0162519216537476, -0.45669037103652954, -0.961410641670227, -0.3962072432041168, -0.328823059797287, -0.624915599822998], [-0.9891633987426758, -0.058552086353302, 0.22397823631763458, -0.7884964346885681, 0.6508362889289856, 0.16884517669677734, -1.0439660549163818, -0.5694736838340759, -0.6099730134010315, 0.26451575756073, 0.6506864428520203, 0.6123284101486206, 0.7898464798927307, -1.0803805589675903, -0.5556187033653259, -0.27689146995544434, 0.04044998437166214, -0.08581949770450592], [-0.3129093050956726, -0.5346647500991821, 0.7588407397270203, -0.8645834922790527, 0.3786722421646118, 0.2354670912027359, -0.5670626759529114, -0.7651166915893555, -0.3685826063156128, 0.12747706472873688, 0.6324999928474426, 0.6074603796005249, 0.40420007705688477, -1.3281458616256714, -0.16881518065929413, -0.743147611618042, -0.009183323942124844, -0.5021721720695496], [-0.46655285358428955, -0.6752182841300964, 0.35999050736427307, -0.2317003458738327, 0.2704656422138214, 0.4591679573059082, -1.0020848512649536, -0.24039791524410248, -0.43818941712379456, 0.8298254609107971, 0.3670169413089752, 0.22764702141284943, 0.06437654048204422, -1.36550772190094, -0.8001880645751953, -0.5484450459480286, 0.31089773774147034, -0.5408437252044678], [-0.5541515946388245, -0.63359534740448, 0.025539595633745193, -0.1578221321105957, 0.3810848295688629, 0.6141156554222107, -1.019982099533081, -0.2758757174015045, -0.8805978298187256, 0.1571090817451477, 0.6465675830841064, 0.5508260726928711, -0.44638773798942566, -0.9676359295845032, -0.7440022826194763, -0.3171834945678711, -0.3584008812904358, -0.4233376681804657], [-0.32208171486854553, -0.6425663828849792, 0.5597983598709106, -0.5690453052520752, 0.3963330090045929, 0.3342738151550293, -0.6903114318847656, -0.606494665145874, -0.9488561153411865, 0.23535358905792236, 0.5483338832855225, 0.4735685884952545, -1.234997034072876, -0.8332603573799133, -0.05021049082279205, -0.8138459324836731, 0.17743855714797974, -0.38198012113571167], [-0.4724409282207489, -0.15937848389148712, 0.41851386427879333, -0.049259115010499954, 0.4108385741710663, 0.08861856907606125, -1.0459545850753784, -0.47424978017807007, -0.9230496287345886, 0.4767623543739319, 0.5672082901000977, 0.34573644399642944, -1.3523001670837402, -0.8165607452392578, -0.5642927885055542, -0.7939467430114746, -0.2928636372089386, -0.6106407642364502], [-0.6121619939804077, -0.37813374400138855, 0.0015341673279181123, -0.08055944740772247, 0.6185147762298584, 0.1588287651538849, -0.9774353504180908, -0.47314339876174927, -0.6839759945869446, 0.1333765983581543, 0.5949355363845825, 0.6271278262138367, -1.4764636754989624, -0.5938087105751038, -0.23736396431922913, -1.0216349363327026, -0.04792872443795204, -0.6154844164848328], [-0.39456337690353394, -0.6525055766105652, 0.212920144200325, -0.06253042817115784, 0.3598671853542328, 0.1684606373310089, -0.9504594802856445, -0.5267974138259888, -0.6290597319602966, 0.7810875773429871, 0.23484644293785095, 0.42043474316596985, -1.6528483629226685, -0.7114136815071106, -0.2353815883398056, -0.9359366297721863, 0.26763781905174255, -0.7118203043937683]], "biases": [0.4260355532169342, 0.3380638659000397, 0.2094244509935379, -0.004484024830162525, 0.22453337907791138, 0.22961093485355377, 0.007222975138574839, 0.08661195635795593, 0.23335297405719757, -0.011785103008151054, 0.17408587038516998, -0.021428976207971573]}}

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

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

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

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

        for n in range(neurons):
            activation = 0

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

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

    return input

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

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

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

maximum = 0
minimum = 0

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

data = normalize(data, maximum, minimum)

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

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


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

Test details

Test 1

Verdict: ACCEPTED

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

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

user output
0.7 0.7 0.6 0.4 0.1 -0.0 -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
3.0 2.9 2.8 2.7 2.5 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
11.2 11.1 10.8 10.4 9.6 8.8 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
19.6 19.5 19.4 19.0 18.5 17.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.5 -4.4 -4.5 -4.7 -4.9 -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
13.7 13.7 13.5 13.2 12.6 12.0 ...
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 -1.9 -1.9 -2.2 -2.3 -2.5 ...
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.7 15.7 15.6 15.3 14.8 14.4 ...
Truncated