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

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.144960418343544, -0.029241710901260376, 0.16166284680366516, 0.061146121472120285, 0.1032259464263916, -0.3326583504676819, -0.22818109393119812, -0.05631444603204727, -0.0825212299823761, 0.3042190670967102, 0.22984859347343445, 0.30400142073631287, 0.40510642528533936, 0.4321812391281128, -0.0630602166056633, -0.3313063085079193, -0.5060869455337524, -0.06463608890771866, -0.35892191529273987, -0.059672243893146515, -0.30552545189857483, 0.11345802992582321, 0.35638919472694397, -0.38238775730133057], [-0.3079734146595001, 0.09667319059371948, 0.32571348547935486, 0.09303884953260422, -0.11663712561130524, 0.28713157773017883, 0.17487750947475433, -0.00831232313066721, -0.18502576649188995, 0.17260757088661194, -0.3504493236541748, 0.283976286649704, -0.033510372042655945, -0.283087819814682, -0.0603049211204052, 0.35838010907173157, 0.16626887023448944, 0.22217580676078796, -0.08315388113260269, 0.23915229737758636, 0.107292540371418, -0.18438328802585602, 0.09903125464916229, 0.3210056722164154], [-0.17430666089057922, -0.02917829155921936, 0.11371602863073349, -0.20426912605762482, -0.08396227657794952, -0.030586116015911102, 0.24549590051174164, -0.061067212373018265, -0.054442569613456726, 0.16916726529598236, 0.3050724267959595, 0.07642592489719391, 0.15017297863960266, 0.1280929446220398, -0.2724992632865906, -0.07434092462062836, 0.13747459650039673, -0.09306354820728302, -0.1765003651380539, 0.1662866622209549, 0.15905101597309113, -0.16424614191055298, -0.2409125417470932, -1.0261201858520508], [-0.03751111030578613, -0.13141755759716034, -0.19401349127292633, -0.20766551792621613, 0.03744308650493622, 0.22750037908554077, 0.33907270431518555, -0.042791131883859634, 0.20161589980125427, -0.10161285102367401, 0.23307748138904572, -0.10948335379362106, 0.29787859320640564, 0.00030318237259052694, -0.06671588122844696, -0.3525022864341736, 0.17248840630054474, 0.11962436884641647, 0.1077260747551918, -0.243631511926651, -0.1472567766904831, 0.13132455945014954, -0.1506514996290207, 0.36574938893318176], [-0.017098836600780487, 0.03971892222762108, 0.26333358883857727, 0.025536485016345978, -0.22968702018260956, -0.2023290991783142, -0.126301571726799, 0.25715160369873047, 0.18713855743408203, -0.04592731595039368, 0.24743400514125824, 0.37577372789382935, -0.18508289754390717, -0.10837702453136444, 0.23714636266231537, -0.14034783840179443, 0.09450358152389526, -0.02252618968486786, -0.44038012623786926, 0.09431552141904831, 0.028514128178358078, 0.5026883482933044, -0.0121955256909132, -0.28519758582115173], [-0.09719919413328171, -0.12800805270671844, -0.31302767992019653, -0.07790728658437729, 0.14621511101722717, -0.20662811398506165, 0.35339751839637756, -0.013495996594429016, 0.10505411028862, 0.21723660826683044, -0.030731944367289543, -0.14397798478603363, 0.16770656406879425, 0.13347510993480682, 0.38034820556640625, 0.5236960053443909, 0.4046136438846588, 0.10779987275600433, 0.17965339124202728, -0.0022421821486204863, -0.32198143005371094, -0.057580456137657166, 0.1429448425769806, -0.6435425877571106], [0.15397290885448456, -0.04695415869355202, -0.033814556896686554, 0.06808928400278091, 0.010848652571439743, -0.4117579162120819, -0.21092356741428375, -0.10148008167743683, 0.13150928914546967, 0.12092256546020508, 0.10730093717575073, 0.19645898044109344, 0.17489999532699585, 0.3521176874637604, 0.1525382101535797, -0.2196565717458725, -0.17970088124275208, -0.33064377307891846, 0.018327930942177773, 0.001729294890537858, -0.27443644404411316, 0.15829257667064667, -0.09647924453020096, 0.6153787970542908], [0.27032947540283203, -0.16038239002227783, -0.061208296567201614, -0.11912384629249573, -0.021011877804994583, -0.025789624080061913, 0.40777134895324707, -0.3313964307308197, 0.03961526229977608, 0.15613090991973877, -0.12754404544830322, -0.40483394265174866, -0.13922570645809174, -0.31883448362350464, 0.12019244581460953, -0.3542155623435974, -0.18494170904159546, 0.16366048157215118, -0.21147821843624115, 0.3849775791168213, 0.19612954556941986, 0.0065211583860218525, -0.22394604980945587, -0.4630526006221771], [0.11090048402547836, 0.054867956787347794, -0.027875272557139397, -0.29906436800956726, -0.1871577352285385, -0.21474449336528778, -0.12278187274932861, -0.07284241169691086, -0.04785371571779251, 0.39886102080345154, 0.2685316205024719, -0.0008591181831434369, 0.031965579837560654, 0.07838133722543716, -0.2951689064502716, 0.19603532552719116, 0.1063678115606308, 0.49788302183151245, 0.1729450225830078, 0.28570684790611267, -0.4142243564128876, 0.24765333533287048, -0.1412271410226822, -0.8641394376754761], [-0.01571984402835369, -0.21607790887355804, 0.2100914716720581, 0.1820967048406601, -0.06057347357273102, -0.22931919991970062, 0.1730583906173706, -0.07623566687107086, -0.058617088943719864, 0.1421627551317215, -0.07054979354143143, -0.11239847540855408, -0.24100302159786224, 0.024263832718133926, -0.08025617897510529, 0.13231289386749268, 0.07728356122970581, -0.16554275155067444, -0.0509144626557827, -0.08695410192012787, 0.06362132728099823, 0.08864272385835648, 0.2171410620212555, 0.8572821021080017], [0.1420379877090454, 0.11990334093570709, -0.24101822078227997, 0.02987467497587204, -0.06220052391290665, 0.4977491497993469, -0.30259549617767334, 0.2225038856267929, -0.20319822430610657, -0.11416184157133102, 0.028514932841062546, -0.058572668582201004, -0.015997586771845818, -0.21282799541950226, -0.12826590240001678, -0.2119319587945938, 0.051158417016267776, 0.47639134526252747, 0.024189138785004616, -0.1313110888004303, -0.0339786559343338, -0.4058510363101959, 0.08694923669099808, 0.9011517763137817], [0.0541050024330616, -0.06919911503791809, 0.2930474281311035, 0.11348070204257965, -0.024799779057502747, -0.28331828117370605, 0.04084136709570885, -0.2431323528289795, -0.0825919508934021, -0.1335337609052658, -0.08345984667539597, 0.25352445244789124, 0.09066630899906158, 0.27912279963493347, 0.4376124441623688, 0.34607967734336853, 0.1471254825592041, -0.39951837062835693, -0.36368781328201294, -0.35410815477371216, -0.0073545631021261215, 0.4575744867324829, 0.15035627782344818, -0.5914146304130554], [-0.09198382496833801, 0.11504869908094406, 0.006724486127495766, 0.17685939371585846, 0.13728870451450348, 0.09469470381736755, -0.16369761526584625, 0.026880715042352676, -0.11948572099208832, -0.010226473212242126, -0.029483456164598465, -0.10409372299909592, -0.3308420777320862, 0.29270291328430176, -0.18170595169067383, 0.3206932246685028, -0.04491286352276802, -0.1847953051328659, -0.31516751646995544, -0.2428518384695053, -0.0850524827837944, -0.30820393562316895, -0.2200181782245636, -0.6727114915847778], [0.3044280409812927, 0.2490547001361847, -0.1320173740386963, -0.02172301709651947, -0.10554371774196625, -0.37585797905921936, -0.44174763560295105, -0.14370042085647583, 0.08782309293746948, 0.1454036682844162, -0.026962287724018097, 0.0091489776968956, -0.40369418263435364, 0.11571761965751648, -0.2200966477394104, 0.4502156972885132, -0.09895097464323044, 0.16607819497585297, 0.4204810559749603, 0.02579713985323906, 0.3066161274909973, -0.008541533723473549, -0.4260971248149872, -0.31940609216690063], [0.27651455998420715, 0.011629773303866386, 0.18703827261924744, 0.13166926801204681, -0.0637928768992424, -0.1355256736278534, -0.26017922163009644, -0.012973048724234104, 0.21081186830997467, -0.23920245468616486, 0.280499666929245, -0.20708830654621124, 0.1070626899600029, -0.15668582916259766, 0.03619880974292755, -0.0797882080078125, 0.200667604804039, 0.045708268880844116, -0.06247713416814804, -0.3692212998867035, -0.03559745475649834, 0.25707560777664185, 0.44848811626434326, -0.5985661149024963], [0.13632600009441376, -0.08819419890642166, -0.28017014265060425, -0.04680294170975685, 0.08715777844190598, 0.10003962367773056, 0.488529771566391, -0.1597733199596405, 0.30191683769226074, -0.0015648436965420842, -0.045053109526634216, -0.39341261982917786, -0.32874399423599243, -0.08278878033161163, -0.3743250072002411, 0.31626826524734497, 0.3729081153869629, 0.2499551773071289, -0.10200147330760956, 0.043581001460552216, 0.3025367558002472, 0.014040650799870491, -0.007252213079482317, -0.6037225127220154], [0.2564060389995575, -0.17660681903362274, -0.03963662311434746, -0.2050510197877884, -0.1915431171655655, -0.04616306349635124, 0.08667810261249542, 0.03617454692721367, -0.24592825770378113, 0.10418076068162918, 0.15144695341587067, -0.3585527539253235, -0.2177654206752777, -0.23690956830978394, -0.006722560152411461, 0.1916174739599228, -0.1643340289592743, -0.263458788394928, 0.04648226872086525, 0.03098050132393837, 0.33411139249801636, 0.200500950217247, 0.38791388273239136, -0.05827690288424492], [-0.18240317702293396, -0.18397380411624908, 0.07886664569377899, 0.1965060830116272, 0.5136306285858154, 0.142286017537117, -0.35513558983802795, -0.17507275938987732, -0.03307276591658592, -0.3395552337169647, 0.08831249922513962, 0.3794313669204712, 0.205048069357872, -0.06676515936851501, -0.17396678030490875, -0.09935388714075089, -0.41547131538391113, -0.17034055292606354, -0.16733144223690033, 0.2300364077091217, 0.18553975224494934, -0.10241911560297012, 0.27354827523231506, -0.09231492131948471], [0.31565555930137634, 0.058605607599020004, -0.037901416420936584, 0.29432544112205505, -0.5350320339202881, -0.04483915492892265, -0.059894103556871414, -0.00652338657528162, -0.3014775812625885, -0.1352386176586151, 0.06473712623119354, 0.3442402780056, -0.0037346009630709887, -0.11556937545537949, -0.04045018553733826, -0.07898134738206863, 0.26237040758132935, -0.11436031758785248, -0.24640238285064697, -0.3885978162288666, 0.1893894225358963, -0.07721276581287384, 0.258535236120224, 0.14899484813213348], [0.014614463783800602, -0.04243629798293114, 0.34521397948265076, 0.5030482411384583, -0.03714384138584137, -0.2092902511358261, 0.21740293502807617, 0.336286723613739, -0.2229580134153366, -0.2467261254787445, -0.03569255396723747, 0.04339781403541565, -0.44345059990882874, -0.14138947427272797, -0.0976279154419899, -0.0813385546207428, -0.25182414054870605, -0.10906951874494553, -0.3218221366405487, 0.15547499060630798, 0.14007633924484253, 0.12944576144218445, 0.20540180802345276, 0.12453597038984299], [0.009685621596872807, 0.15398381650447845, -0.25637146830558777, 0.02481643296778202, 0.20466171205043793, -0.15190845727920532, -0.06307351589202881, 0.10968631505966187, 0.3518627882003784, 0.045974187552928925, -0.25656116008758545, -0.03866833820939064, -0.1299789547920227, -0.00534158805385232, 0.13166368007659912, -0.17215777933597565, 0.24308930337429047, 0.03285961225628853, 0.010325117036700249, -0.0042785052210092545, 0.2847278416156769, -0.1430409699678421, -0.135237455368042, -1.1636883020401], [-0.06905209273099899, 0.33740657567977905, 0.02078045904636383, -0.04195435717701912, -0.07695640623569489, 0.22874847054481506, -0.3429877460002899, 0.10995316505432129, 0.25611841678619385, -0.4793754518032074, -0.26136526465415955, -0.13801944255828857, 0.24372941255569458, 0.1589696854352951, 0.2830631136894226, 0.09596604108810425, -0.024591967463493347, -0.055417634546756744, -0.15971973538398743, -0.33999964594841003, 0.010052666068077087, -0.20323526859283447, 0.08572975546121597, -0.5983845591545105], [-0.173202782869339, -0.3773602247238159, 0.13663771748542786, 0.024130824953317642, -0.3144529461860657, 0.17269152402877808, 0.3421695828437805, -0.006227779667824507, -0.263623982667923, 0.4513900578022003, 0.31000369787216187, 0.374368816614151, -0.021155202761292458, -0.007131559308618307, 0.12105605751276016, -0.3480336368083954, -0.1016324833035469, 0.2948809862136841, 0.12330831587314606, -0.2392578423023224, -0.5918777585029602, -0.397826224565506, -0.1411709189414978, 0.00909515656530857], [0.024357018992304802, -0.03735978528857231, -0.15709523856639862, 0.006772586610168219, 0.4054085910320282, -0.15186981856822968, -0.15572229027748108, 0.33608293533325195, 0.3908854126930237, -0.19352827966213226, 0.09124001115560532, -0.12863288819789886, 0.04005537927150726, -0.05523407831788063, 0.1600291132926941, 0.3465004563331604, 0.013303925283253193, 0.16742311418056488, 0.13860347867012024, -0.0678238719701767, 0.09602523595094681, 0.23806819319725037, 0.33853551745414734, 0.36576348543167114]], "biases": [-0.5046388506889343, -0.12103714793920517, -0.4447515606880188, 0.09324806928634644, 0.10619489848613739, 0.3685896396636963, 0.07314547151327133, -0.27861663699150085, -0.02569151297211647, 0.6527709364891052, -0.8292703032493591, 0.679624080657959, 0.8232362270355225, 1.6234625577926636, 0.7368007302284241, 1.3069528341293335, -0.7021653652191162, 0.18543848395347595, -1.0697342157363892, -0.5186557173728943, 0.15769848227500916, -0.2143455445766449, -0.6204386949539185, 0.02805042266845703]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.36410629749298096, 0.16566161811351776, -0.35345059633255005, 0.021101608872413635, -0.12632668018341064, 0.17295464873313904, 0.06759712100028992, 0.05438071861863136, -0.4401443898677826, 0.05004740133881569, 0.21894752979278564, -0.340379536151886, 0.12617839872837067, 0.31557852029800415, -0.02328360080718994, 0.12456019967794418, 0.0311922337859869, -0.09810151159763336, -0.18110308051109314, -0.12780143320560455, -0.11938171833753586, -0.019248150289058685, 0.05225459858775139, 0.20887967944145203], [0.05902501195669174, -0.18023961782455444, 0.07658785581588745, 0.13176940381526947, -0.03278256207704544, 0.15498462319374084, -0.232507586479187, -0.1570756733417511, -0.1206979975104332, -0.18124639987945557, -0.11095026880502701, -0.35795947909355164, 0.009238040074706078, 0.09452784806489944, 0.12793807685375214, -0.22654469311237335, 0.015859490260481834, 0.09362298995256424, -0.35927438735961914, -0.1500214785337448, -0.26035672426223755, -0.3550132215023041, -0.3093039095401764, -0.3460611402988434], [0.09627946466207504, -0.0036072011571377516, 0.021035030484199524, -0.0644707903265953, -0.41914501786231995, -0.1494734138250351, 0.03154582530260086, -0.05720295384526253, -0.6313512325286865, -0.020113598555326462, 0.22389653325080872, 0.04507149010896683, 0.12502257525920868, -0.21592889726161957, -0.16326402127742767, -0.2929610013961792, 0.012740334495902061, 0.19509769976139069, -0.09624239057302475, 0.06279554963111877, -0.07094089686870575, 0.035192351788282394, -0.28497666120529175, -0.06859143823385239], [-0.1810837686061859, 0.2890377342700958, -0.44389107823371887, 0.3151366412639618, -0.041429344564676285, -0.055733032524585724, 0.13344143331050873, -0.07565125077962875, -0.4484536051750183, 0.13987743854522705, 0.0063237822614610195, 0.1849931925535202, 0.0009386560413986444, 0.2968517541885376, -0.19768846035003662, -0.2246459424495697, 0.23019906878471375, -0.04734359309077263, -0.05341038107872009, 0.13644243776798248, -0.006321000400930643, 0.00843303743749857, -0.007528041489422321, 0.21356301009655], [0.03231770917773247, 0.11822431534528732, -0.4576775133609772, 0.08041104674339294, -0.06316355615854263, -0.08348878473043442, 0.22459347546100616, 0.053782008588314056, -0.1716088503599167, 0.37236249446868896, 0.17368854582309723, 0.05075711011886597, -0.08093497157096863, 0.15111805498600006, -0.1334218680858612, -0.14525668323040009, 0.058808356523513794, -0.04738382622599602, -0.14489245414733887, 0.05894308537244797, 0.15446248650550842, 0.1449516862630844, -0.25801536440849304, 0.21576490998268127], [0.30217882990837097, 0.24113216996192932, -0.2863277196884155, 0.16786818206310272, -0.002963251667097211, 0.2196710705757141, 0.022480620071291924, -0.053607407957315445, -0.513484537601471, 0.03880888968706131, 0.06747771054506302, -0.2560636103153229, 0.22272248566150665, 0.3070096969604492, 0.027859942987561226, 0.09865661710500717, 0.13539844751358032, -0.16870486736297607, -0.0011905963765457273, -0.16499701142311096, -0.19471444189548492, -0.1158805713057518, 0.0363847054541111, 0.12017429620027542], [-0.38593700528144836, 0.0515386126935482, 0.11160667985677719, 0.21304765343666077, 0.1012740433216095, -0.073111891746521, -0.03700873628258705, -0.16087733209133148, 0.40472206473350525, 0.24445772171020508, 0.23232589662075043, 0.21170340478420258, -0.2627463638782501, 0.050441674888134, -0.19403597712516785, -0.22880983352661133, 0.1091008260846138, 0.12186875939369202, 0.009441787376999855, 0.15947295725345612, 0.18878668546676636, -0.2891286611557007, 0.24831975996494293, 0.1577852964401245], [0.33887284994125366, -0.10068438202142715, -0.06597208976745605, -0.15168356895446777, -0.1816719025373459, -0.07319073379039764, 0.17016153037548065, -0.019057422876358032, -0.39448264241218567, 0.17876292765140533, 0.21173982322216034, 0.00822423119097948, -0.03898024931550026, -0.1043286845088005, 0.17525066435337067, 0.12466640770435333, -0.15691225230693817, 0.2505887448787689, -0.02715855836868286, 0.05560910329222679, -0.1858728528022766, 0.22091196477413177, -0.3652086853981018, 0.03738559037446976], [-0.03702334314584732, -0.043657056987285614, 0.05979350209236145, -0.26627933979034424, -0.3849344849586487, 0.5901408195495605, -0.5395737886428833, 0.02831566147506237, -0.07609011977910995, 0.14891399443149567, -0.16926604509353638, 0.08930721133947372, 0.009792957454919815, -0.10279768705368042, -0.030312085524201393, -0.12201210111379623, 0.11004140228033066, 0.07111012190580368, 0.02955179288983345, -0.025507891550660133, 0.04020307585597038, 0.04431130737066269, 0.02382129803299904, -0.14128993451595306], [0.16591109335422516, -0.06259217858314514, -0.008960285224020481, 0.007547515910118818, 0.013551135547459126, 0.19110286235809326, -0.13547182083129883, 0.16806389391422272, 0.42029955983161926, -0.20660501718521118, -0.06407465785741806, 0.4016275107860565, 0.259297251701355, 0.1802021563053131, 0.19481909275054932, 0.3985757529735565, 0.015224325470626354, -0.053216081112623215, 0.013261881656944752, -0.08300025016069412, 0.3576975166797638, 0.08262002468109131, -0.18917633593082428, 0.03959300369024277], [0.3259078562259674, -0.02706519514322281, 0.000662443577311933, -0.009763049893081188, -0.07806015759706497, -0.15129344165325165, 0.08672358095645905, -0.059510186314582825, -0.6684959530830383, 0.11410591751337051, 0.24415062367916107, 0.09001629799604416, 0.04627876728773117, -0.2946043610572815, -0.08232439309358597, 0.09284495562314987, -0.05420641228556633, 0.1372555047273636, -0.05634043365716934, 0.1325034350156784, -0.07326358556747437, 0.1200813502073288, -0.3965073227882385, -0.010793827474117279], [0.022871660068631172, 0.064987912774086, 0.17648449540138245, 0.17216980457305908, -0.14687156677246094, 0.055490508675575256, -0.14790759980678558, -0.03539928421378136, 0.06334681063890457, -0.0563434399664402, 0.020297745242714882, -0.07823935896158218, -0.15263892710208893, 0.0378248430788517, 0.07094985991716385, 0.06129809841513634, 0.04032769054174423, 0.21709543466567993, -0.0069341943599283695, -0.17206206917762756, 0.3696504235267639, 0.17794473469257355, 0.1405947208404541, 0.08478046208620071], [-0.27471035718917847, 0.004530163947492838, -0.10441134124994278, -0.10779717564582825, 0.051513008773326874, 0.04486716538667679, 0.19520452618598938, 0.009974957443773746, -0.10124512761831284, 0.12277474999427795, -0.02840784564614296, -0.06254211068153381, -0.5417109727859497, -0.18942967057228088, -0.06271469593048096, -0.1322501003742218, 0.02614905685186386, 0.028312887996435165, 0.3514598309993744, -0.11917135119438171, -0.34723061323165894, 0.11570338159799576, 0.43874800205230713, 0.0651831105351448], [-0.06643575429916382, 0.00363527936860919, 0.15428094565868378, 0.13748785853385925, -0.05971883237361908, 0.014534947462379932, -0.0755244567990303, -0.3009755611419678, 0.2704770565032959, -0.04420546069741249, 0.2238980531692505, 0.07764432579278946, -0.05585756525397301, 0.22793076932430267, -0.04031556844711304, 0.08705475926399231, 0.003584860358387232, 0.2605937123298645, 0.17428655922412872, 0.07607651501893997, -0.1633274406194687, -0.26246869564056396, 0.2763296365737915, 0.2720916271209717], [0.07405105978250504, -0.11261770129203796, 0.19949226081371307, -0.12277478724718094, 0.20844560861587524, 0.061546895653009415, 0.2649022340774536, -0.0897320955991745, 0.5305308699607849, -0.022439701482653618, 0.11299768090248108, 0.22236673533916473, 0.16828197240829468, 0.11227380484342575, 0.2937498390674591, 0.2758505046367645, 0.0037733586505055428, 0.15984755754470825, 0.05293687805533409, 0.05560802295804024, 0.2238600254058838, 0.12870758771896362, -0.24443010985851288, -0.04843508079648018], [0.2018211930990219, -0.0607503317296505, 0.14909689128398895, 0.09475331753492355, -0.15964609384536743, 0.22555536031723022, -0.2696780860424042, 0.25425076484680176, 0.37468421459198, -0.17098578810691833, -0.08718562126159668, 0.4021727740764618, 0.15937472879886627, -0.013612390495836735, 0.13867314159870148, 0.23157283663749695, 0.10191565006971359, -0.10749099403619766, -0.003844242077320814, -0.045589886605739594, 0.3939054608345032, 0.10455608367919922, -0.21278759837150574, 0.05812828242778778], [-0.11618509143590927, -0.13461698591709137, -0.029359541833400726, 0.03059488907456398, -0.09679529815912247, 0.2167782038450241, -0.14988452196121216, -0.7411732077598572, 0.22823698818683624, -0.0387486033141613, -0.11683811992406845, 0.028696518391370773, -0.11607912182807922, -0.02972329594194889, -0.10694076865911484, -0.25570905208587646, -0.06501920521259308, 0.072564035654068, -0.21768085658550262, 0.008340845815837383, -0.23130188882350922, -0.23520559072494507, 0.09181241691112518, -0.07047849893569946], [0.04782814532518387, -0.2430415153503418, 0.10458852350711823, -0.045705799013376236, 0.06456756591796875, -0.329708069562912, -0.32777509093284607, 0.16155973076820374, 0.19483870267868042, 0.01776256412267685, -0.07077442854642868, 0.17320461571216583, -0.10434309393167496, 0.014608792029321194, 0.0038540123496204615, 0.07132834196090698, 0.12874503433704376, 0.18169479072093964, -0.07165246456861496, -0.020893581211566925, 0.5983295440673828, 0.27276724576950073, 0.20713280141353607, -0.21285010874271393]], "biases": [0.7167104482650757, -0.11477407813072205, 0.13014258444309235, 0.5132845044136047, 0.07391754537820816, 0.9744487404823303, -0.13142646849155426, -0.09116031974554062, -1.1580885648727417, 0.4863015115261078, -0.07476021349430084, 0.18716642260551453, 0.1178051233291626, 0.7234450578689575, 0.5971429347991943, 0.5855457186698914, -0.31543293595314026, 0.10338470339775085]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.09100815653800964, 0.33711642026901245, -0.03172146901488304, -0.005864023230969906, 0.4561859965324402, 0.11843597143888474, 0.37942981719970703, 0.07842674106359482, -0.20936532318592072, -0.24323518574237823, 0.2113874852657318, 0.138062983751297, 0.3956882357597351, -0.11030024290084839, 0.07549633830785751, -0.004067335277795792, -0.8844403028488159, -0.638874888420105], [-0.20809276401996613, 0.3829771876335144, 0.05885020270943642, -0.11135497689247131, 0.5161375999450684, 0.42669421434402466, 0.2791159152984619, 0.1445561796426773, -0.30659380555152893, -0.09642279893159866, 0.14329996705055237, -0.11024913936853409, 0.36317694187164307, 0.17816339433193207, -0.04917595908045769, -0.21870942413806915, -0.6745312213897705, -0.33078938722610474], [0.32287049293518066, -0.30724769830703735, 0.055071134120225906, 0.36212798953056335, 0.01715697906911373, -0.17373698949813843, 0.07305427640676498, 0.121494822204113, -0.08958257734775543, 0.10029736906290054, 0.25347408652305603, -0.0853213295340538, 0.5806859135627747, 0.34304168820381165, -0.07783262431621552, -0.47707945108413696, -0.673882007598877, -0.2697838544845581], [0.33352741599082947, -0.03475065529346466, 0.25647836923599243, -0.095162034034729, 0.2303088754415512, 0.10483144223690033, 0.5050045251846313, -0.008497332222759724, -0.239797443151474, -0.37742477655410767, -0.019994208589196205, -0.2534882724285126, 0.1321788728237152, 0.1663527935743332, 0.013850055634975433, -0.05293438583612442, -0.9556244611740112, -0.2347424179315567], [0.38793060183525085, -0.05375419557094574, 0.16278618574142456, 0.22860613465309143, -0.01082837674766779, -0.06393693387508392, 0.3925788998603821, 0.06625958532094955, -0.16862283647060394, -0.239061638712883, -0.12231835722923279, -0.15114697813987732, 0.07310132682323456, 0.2533782124519348, -0.18515177071094513, -0.14752911031246185, -1.1061397790908813, -0.1762012392282486], [0.15916968882083893, -0.14514482021331787, 0.017928939312696457, 0.3368564546108246, 0.17962224781513214, 0.05681092292070389, 0.22397467494010925, -0.023551730439066887, -0.11595902591943741, -0.2886551022529602, -0.18509960174560547, 0.13695232570171356, -0.19415581226348877, 0.16345450282096863, -0.24500267207622528, -0.022219358012080193, -0.809029757976532, -0.32619863748550415], [-0.0883268266916275, 0.379865825176239, -0.2982933819293976, 0.19257532060146332, 0.025836026296019554, 0.5033775568008423, 0.3464949131011963, -0.057133354246616364, 0.03057294711470604, -0.0316612534224987, -0.11103694140911102, -0.05350290238857269, -0.09521619975566864, 0.23259897530078888, -0.3733731508255005, -0.3823797404766083, -1.0952359437942505, -0.0333612859249115], [-0.07306651771068573, -0.3435171842575073, -0.3003595769405365, 0.031351517885923386, 0.35191118717193604, 0.36099275946617126, 0.1252366006374359, 0.00994697492569685, 0.1681809425354004, -0.34507834911346436, -0.558686375617981, -0.02757599577307701, -0.08396600931882858, 0.405199259519577, -0.3044562339782715, 0.05437904968857765, -1.676947832107544, -0.24131551384925842], [0.36526817083358765, 0.26212456822395325, -0.4193188548088074, 0.35100603103637695, 0.045911580324172974, -0.005027659237384796, 0.1648320108652115, -0.3402518033981323, 0.5654104948043823, -0.3239193558692932, -0.32149410247802734, 0.13642488420009613, 0.15637998282909393, 0.027104688808321953, 0.05767793953418732, -0.29040858149528503, -1.6131796836853027, -0.2654847502708435], [0.21939493715763092, -0.028442416340112686, -0.43501701951026917, 0.32319384813308716, 0.013695606030523777, 0.028665760532021523, -0.105138398706913, -0.28347763419151306, 0.286258339881897, -0.3861640393733978, -0.4283367991447449, -0.06735863536596298, 0.43867844343185425, 0.479853093624115, -0.08223756402730942, -0.25381314754486084, -1.8572336435317993, 0.0082298768684268], [-0.20278200507164001, 0.20402704179286957, -0.4003092348575592, 0.08872818946838379, 0.33821943402290344, 0.4134863018989563, -0.03670297935605049, -0.10566210746765137, 0.36449432373046875, -0.40979623794555664, -0.6860480904579163, 0.07587126642465591, 0.30462977290153503, 0.37688755989074707, -0.16145750880241394, -0.07029332220554352, -2.284998655319214, -0.16923069953918457], [0.19003896415233612, -0.11944348365068436, -0.5804152488708496, 0.364388108253479, -0.29394346475601196, 0.25397467613220215, 0.30880701541900635, 0.1360008716583252, 0.5293484330177307, -0.2060413360595703, -0.7259408235549927, 0.09232444316148758, 0.4951123893260956, 0.06025506928563118, -0.12601082026958466, -0.43316125869750977, -2.5634281635284424, -0.04336744546890259]], "biases": [0.1627829670906067, 0.005349200218915939, -0.0682428628206253, -0.02885148674249649, -0.022814195603132248, -0.11340303719043732, -0.13299570977687836, -0.2965409457683563, -0.23624897003173828, -0.3255348205566406, -0.4071427881717682, -0.3405459225177765]}}

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

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

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

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

        for n in range(neurons):
            activation = 0

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

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

    return input

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

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

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

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

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


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

Test details

Test 1

Verdict: ACCEPTED

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

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

user output
0.2 0.2 0.2 0.1 -0.0 -0.3 -0.1...
Truncated

Test 2

Verdict: ACCEPTED

input
1000
2.9 2.9 2.9 2.1 2.6 2 2 2.2 2....

correct output
2.3 1.6 1.5 1.1 1 0.7 0.6 0.8 ...

user output
2.6 2.6 2.5 2.2 2.1 2.0 1.9 1....
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.2 9.0 8.1 7.1 6.5 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.6 17.5 17.2 17.0 16.5 15.7 ...
Truncated

Test 5

Verdict: ACCEPTED

input
1000
-5.7 -5.8 -5.8 -5.9 -7.1 -6.9 ...

correct output
-4.2 -4.1 -4 -3.8 -3.5 -3.2 -3...

user output
-4.0 -3.9 -4.4 -4.1 -4.5 -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.8 12.7 12.1 12.0 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 -2.0 -2.0 -2.5 -3.0 ...
Truncated

Test 8

Verdict: ACCEPTED

input
1000
15.1 15.3 14.9 14.4 14.4 13.7 ...

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

user output
15.2 15.2 14.7 14.6 14.0 13.4 ...
Truncated