CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:qanpi
Submission time:2023-11-12 16:10:11 +0200
Language:Python3 (CPython3)
Status:READY
Result:59
Feedback
groupverdictscore
#1ACCEPTED58.63
Test results
testverdicttimescore
#1ACCEPTED0.18 s7.88details
#2ACCEPTED0.18 s8.5details
#3ACCEPTED0.18 s7details
#4ACCEPTED0.17 s7.5details
#5ACCEPTED0.18 s7.38details
#6ACCEPTED0.18 s7details
#7ACCEPTED0.18 s6details
#8ACCEPTED0.18 s7.38details

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.2557394504547119, -0.2976188361644745, 0.06630630046129227, 0.08427241444587708, 0.3383558392524719, 0.18814942240715027, -0.1253369152545929, -0.23523655533790588, -0.07008647918701172, -0.27725833654403687, 0.07902641594409943, 0.2176062911748886, 0.14653246104717255, -0.08141780644655228, 0.02138509787619114, 0.2712886929512024, -0.3295499086380005, -0.30831393599510193, -0.03750159591436386, -0.1690913438796997, 0.00697895186021924, -0.02730833925306797, -0.020628586411476135, 0.9398469924926758], [-0.3779602646827698, -0.24099481105804443, -0.24767106771469116, 0.1617898941040039, -0.10977625846862793, -0.2699643075466156, -0.08972875028848648, 0.06603691726922989, -0.296964555978775, 0.16596442461013794, 0.3550691604614258, -0.05233244225382805, 0.0014165855245664716, -0.007971695624291897, -0.34274476766586304, -0.05605540797114372, 0.17441962659358978, 0.5294039249420166, 0.4025484621524811, 0.3532049059867859, -0.07557246088981628, 0.4041142463684082, -0.06658854335546494, -0.8293176889419556], [-0.09284434467554092, -0.16439688205718994, 0.05566992610692978, 0.05144613981246948, -0.27435603737831116, 0.021902546286582947, 0.07048051804304123, 0.13043949007987976, -0.09312956780195236, -0.12656854093074799, -0.07113242149353027, 0.3608851730823517, 0.26329153776168823, 0.04557037353515625, 0.259931355714798, -0.2003561407327652, -0.3022158741950989, -0.34209874272346497, 0.33450719714164734, 0.26743748784065247, 0.07404442876577377, -0.43936800956726074, -0.44628146290779114, 0.6614679098129272], [0.33811238408088684, -0.009366719983518124, -0.04804833233356476, -0.18029379844665527, -0.05958357825875282, 0.11015816032886505, 0.3888667821884155, 0.02086527831852436, 0.183366060256958, 0.0883326381444931, -0.01651887595653534, 0.08481000363826752, -0.37776145339012146, -0.35294803977012634, -0.15121781826019287, 0.2519499659538269, 0.336638480424881, 0.1975792646408081, -0.4159080982208252, 0.07609222829341888, 0.07129872590303421, 0.014796563424170017, 0.17164553701877594, -0.684367299079895], [0.16566824913024902, -0.19373992085456848, 0.06725200265645981, 0.06732026487588882, 0.06709997355937958, 0.06657417118549347, 0.2612164616584778, -0.1268933117389679, -0.07668782025575638, -0.177775576710701, 0.08594868332147598, -0.013887174427509308, -0.01218812633305788, 0.015025674365460873, -0.432706743478775, 0.11523401737213135, -0.08003540337085724, 0.2198665589094162, -0.044359710067510605, 0.07710783928632736, 0.18231263756752014, 0.14908958971500397, -0.0642610415816307, 0.7936789989471436], [0.17521272599697113, -0.20977671444416046, 0.3853760063648224, -0.1853291094303131, 0.040496576577425, 0.15066321194171906, -0.12647950649261475, -0.30464550852775574, 0.31997767090797424, -0.2796214818954468, -0.16484618186950684, 0.05857120826840401, 0.00517453346401453, 0.17592108249664307, 0.2747407555580139, -0.033478282392024994, -0.14307211339473724, -0.24614912271499634, -0.12430410087108612, -0.3049556612968445, 0.11238116770982742, -0.06683268398046494, -0.1349688023328781, -0.7046509385108948], [-0.16238366067409515, 0.13164782524108887, 0.12453204393386841, 0.26236000657081604, -0.17874321341514587, 0.17790068686008453, -0.17851175367832184, -0.36359602212905884, 0.049688670784235, -0.1285555064678192, 0.10505510121583939, -0.06052771210670471, 0.09827187657356262, 0.3313564658164978, 0.15391778945922852, 0.27312394976615906, 0.21389831602573395, -0.20984968543052673, -0.6089731454849243, -0.15699580311775208, -0.11843489855527878, 0.21318472921848297, 0.4068719446659088, -0.559574544429779], [-0.06384554505348206, -0.36926043033599854, 0.008206713013350964, 0.130067378282547, 0.44241684675216675, -0.23407572507858276, 0.15337875485420227, -0.12414830923080444, 0.04905753582715988, -0.03963947668671608, -0.12003789842128754, 0.34455910325050354, -0.13898903131484985, -0.09545518457889557, -0.18181240558624268, -0.17194977402687073, -0.20188263058662415, -0.15997400879859924, 0.24478043615818024, 0.24067845940589905, 0.012684389017522335, 0.32579517364501953, 0.042678654193878174, -0.8509124517440796], [-0.04314430430531502, 0.320735365152359, -0.27224522829055786, -0.19350659847259521, 0.23547865450382233, 0.2745225727558136, 0.35635751485824585, 0.38449060916900635, 0.07760973274707794, 0.17242835462093353, -0.2581181526184082, -0.01145508885383606, 0.05991165339946747, 0.08156437426805496, -0.1545967161655426, 0.1774173229932785, 0.21453438699245453, 0.23046334087848663, 0.2632124722003937, -0.2098359614610672, -0.2510985732078552, 0.039695702493190765, -0.04942360892891884, 0.2811492383480072], [-0.18540257215499878, 0.23771139979362488, -0.035109203308820724, 0.04291662573814392, 0.017306838184595108, 0.042798563838005066, 0.21721194684505463, 0.41235870122909546, -0.23901858925819397, 0.18924769759178162, -0.11760368943214417, -0.2290336638689041, -0.13117671012878418, 0.09591230750083923, -0.29421019554138184, 0.17733843624591827, 0.07253773510456085, 0.37413689494132996, -0.022684035822749138, 0.35517099499702454, 0.1944860816001892, -0.38599345088005066, 0.10909904539585114, 0.4567381739616394], [-0.30404743552207947, 0.1913599818944931, -0.052221331745386124, 0.4174019396305084, 0.5459921360015869, 0.18745481967926025, -0.32539328932762146, 0.21388879418373108, -0.29538652300834656, -0.06087663769721985, -0.020600154995918274, 0.27898526191711426, -0.3219604194164276, 0.14429141581058502, -0.07376904785633087, -0.3053141236305237, 0.16527234017848969, -0.005526362918317318, 0.27286389470100403, -0.3540244996547699, -0.1135772243142128, -0.022532740607857704, -0.5671841502189636, 0.22817829251289368], [-0.06460296362638474, 0.20171545445919037, 0.3404163718223572, -0.16448333859443665, -0.0290367491543293, -0.1579257696866989, -0.2903890013694763, -0.011623618192970753, -0.015713408589363098, 0.04148295521736145, -0.006730319932103157, 0.294280469417572, -0.07759411633014679, 0.26022014021873474, -0.16253028810024261, 0.08210201561450958, 0.1661568284034729, -0.18302805721759796, -0.2621643841266632, -0.17404673993587494, 0.13681571185588837, 0.06036994606256485, 0.15382802486419678, 0.44906365871429443], [0.19364894926548004, -0.12399731576442719, -0.008090375922620296, -0.35680297017097473, 0.23223695158958435, 0.07964008301496506, 0.32995378971099854, -0.09600239247083664, 0.035694193094968796, -0.3508017659187317, -0.13364049792289734, 0.015641629695892334, -0.13355500996112823, -0.02173907309770584, -0.12237487733364105, 0.32206636667251587, 0.44256269931793213, 0.3984951376914978, 0.19002535939216614, -0.11484256386756897, -0.4231078028678894, -0.19440342485904694, -0.016963347792625427, 0.18856576085090637], [0.006856835447251797, -0.4301520884037018, 0.22531068325042725, -0.2451803982257843, -0.06560809165239334, -0.1755271703004837, 0.26911190152168274, -0.21831075847148895, -0.03204915672540665, 0.24971982836723328, 0.34228721261024475, 0.3734477758407593, 0.11340013146400452, 0.05484560504555702, 0.4235801100730896, 0.22472769021987915, 0.2413715124130249, 0.12209665030241013, 0.13598546385765076, -0.0003033555985894054, -0.2663078010082245, 0.23196904361248016, 0.14439867436885834, 0.45058688521385193], [0.32564547657966614, 0.24174079298973083, -0.022855399176478386, 0.09279356151819229, -0.29246824979782104, 0.04510360211133957, -0.152565598487854, 0.25635218620300293, -0.08162505179643631, -0.12242284417152405, -0.21820570528507233, -0.0814417228102684, 0.2149910181760788, 0.12256433069705963, 0.1420935094356537, -0.3656633794307709, -0.2002701759338379, -0.16791953146457672, -0.34536197781562805, -0.4314016103744507, -0.07882416248321533, 0.24495527148246765, 0.32272326946258545, 0.6812910437583923], [-0.26261064410209656, 0.020607206970453262, -0.1571914702653885, 0.168535977602005, -0.21599027514457703, 0.20440025627613068, -0.20999214053153992, 0.05483473464846611, 0.22075363993644714, 0.180940181016922, -0.07466401904821396, -0.14158368110656738, -0.1477815955877304, -0.11277208477258682, 0.3684663772583008, 0.4244632124900818, -0.19866491854190826, -0.11045815795660019, 0.18342256546020508, 0.2618434429168701, 0.15790952742099762, 0.022421211004257202, 0.22504505515098572, 0.674074113368988], [0.16495923697948456, -0.09079819172620773, -0.12444784492254257, 0.17980356514453888, -0.04587627947330475, -0.2198181450366974, -0.05830267071723938, -0.027950050309300423, 0.04488464817404747, -0.014337115921080112, 0.05891035497188568, 0.23668472468852997, -0.20484797656536102, 0.11436094343662262, -0.20521937310695648, -0.37218204140663147, 0.043845150619745255, -0.06354565918445587, 0.20771250128746033, 0.05773210525512695, -0.03765098750591278, -0.09238401055335999, -0.019152721390128136, 0.9782895445823669], [-0.005985323339700699, -0.05453775078058243, -0.12928655743598938, 0.36530137062072754, -0.05897613242268562, 0.0867314487695694, -0.17237117886543274, 0.009034795686602592, -0.07380986213684082, -0.0440664142370224, -0.028710197657346725, 0.14604739844799042, -0.17504961788654327, 0.2697661519050598, -0.2491263449192047, -0.28160643577575684, -0.09754659980535507, -0.20059627294540405, 0.09588166326284409, -0.38534748554229736, 0.3362056314945221, 0.10704777389764786, -0.2228892743587494, -1.290242075920105], [0.2582807242870331, 0.14225326478481293, -0.2256557196378708, -0.39495888352394104, 0.1514216512441635, 0.10636761784553528, 0.14450305700302124, 0.10592203587293625, 0.2067885845899582, -0.1947178989648819, -0.31370288133621216, -0.0440099723637104, 0.2669341564178467, 0.12930378317832947, -0.026612432673573494, -0.21753615140914917, 0.0798066034913063, -0.3554745614528656, 0.10589040815830231, 0.1572701334953308, -0.33089718222618103, 0.07894119620323181, -0.07175932824611664, -0.6205883622169495], [-0.03657074272632599, -0.12511283159255981, 0.001470236573368311, -0.09683000296354294, 0.3903244435787201, -0.03550338000059128, 0.3415113389492035, 0.07555484026670456, 0.04846265912055969, -0.043268755078315735, 0.054854754358530045, -0.4979759156703949, 0.012489750050008297, -0.3584199845790863, 0.11522013694047928, 0.026036866009235382, 0.1240396574139595, 0.34420013427734375, -0.10598447918891907, 0.09067532420158386, -0.5176939368247986, -0.29056864976882935, 0.28416240215301514, 0.4088512063026428], [0.05052575841546059, -0.08436009287834167, 0.32906582951545715, 0.2558576762676239, -0.006789004430174828, 0.24732747673988342, -0.10160130262374878, -0.24930565059185028, -0.3496226668357849, -0.04092090204358101, 0.03683226928114891, 0.2497464120388031, -0.11239653825759888, -0.17652815580368042, 0.24857281148433685, -0.4388171434402466, 0.3426699638366699, 0.2560945749282837, -0.10961078852415085, 0.22039011120796204, -0.47364717721939087, -0.2034224569797516, 0.12741301953792572, 0.2276729792356491], [0.2210243195295334, 0.13546383380889893, 0.1776926964521408, -0.1593376249074936, -0.3194566071033478, 0.13736137747764587, 0.017022432759404182, -0.011490622535347939, -0.10820052027702332, 0.3040286600589752, 0.03910974785685539, -0.36625123023986816, 0.15704216063022614, -0.1551828682422638, 0.24572579562664032, 0.09556983411312103, 0.45274028182029724, 0.32587406039237976, -0.20294088125228882, 0.09644297510385513, -0.36421436071395874, -0.3056515157222748, -0.11536344885826111, -0.5286359786987305], [-0.23509174585342407, 0.0698278620839119, 0.07166780531406403, 0.2779071629047394, -0.3640928864479065, -0.4004080593585968, -0.11480610072612762, -0.03644554316997528, -0.18470367789268494, -0.002923361724242568, 0.032053522765636444, -0.07341655343770981, -0.2734459340572357, -0.4405651390552521, 0.15031550824642181, -0.06490214914083481, 0.1479502022266388, -0.15989823639392853, -0.061336878687143326, 0.1244136393070221, 0.057890474796295166, -0.04383928328752518, 0.10784856975078583, 0.8817480206489563], [-0.06878235936164856, 0.4204741418361664, -0.05373210832476616, 0.12862546741962433, -0.06180252507328987, -0.2778897285461426, -0.28524982929229736, 0.04266619309782982, 0.43942514061927795, -0.14672160148620605, -0.2978399097919464, 0.007945030927658081, 0.1832224279642105, 0.17957720160484314, -0.12665866315364838, 0.19531632959842682, 0.21548648178577423, 0.15725722908973694, 0.39598268270492554, 0.052587833255529404, -0.2995477020740509, -0.14881564676761627, 0.09592314064502716, -0.9021418690681458]], "biases": [0.34834325313568115, -0.308434396982193, 0.6632091999053955, 0.4269573986530304, -0.45082005858421326, 0.18677188456058502, 0.12238296866416931, 0.08941833674907684, 0.44627779722213745, -0.43021756410598755, 0.06105740740895271, -0.11899875849485397, 0.5989657640457153, 0.31910911202430725, 0.06399212777614594, 0.06720192730426788, -0.8119738698005676, 0.3280136287212372, 0.023822536692023277, -0.8736358880996704, 0.034255482256412506, 0.18925270438194275, -0.12315388768911362, 0.230749249458313]}, "1": {"config": {"units": 16, "activation": "relu"}, "weights": [[-0.7367258071899414, 0.1535959392786026, -0.05813115835189819, 0.15360811352729797, -0.15480704605579376, -0.0349583774805069, -0.18971535563468933, 0.030641192570328712, 0.10829079896211624, 0.010886152274906635, -0.08200288563966751, -0.08396349847316742, -0.013535844162106514, 0.0850190743803978, -0.31923413276672363, -0.0488266758620739, -0.27230632305145264, 0.013688686303794384, 0.09432628750801086, 0.13446316123008728, -0.115620456635952, 0.07727134972810745, 0.13935910165309906, 0.23899732530117035], [0.15780147910118103, -0.5087354183197021, 0.0798482820391655, 0.09886077046394348, 0.07750803977251053, 0.11263442784547806, 0.005203920882195234, 0.10240975022315979, -0.009825051762163639, 0.07012069225311279, 0.13377611339092255, -0.1771073043346405, 0.012838693335652351, -0.09170779585838318, -0.01621568202972412, 0.02353687211871147, 0.07682407647371292, -0.03538622334599495, -0.03167504444718361, 0.19309689104557037, 0.03359309956431389, -0.39464500546455383, -0.017559368163347244, -0.605268120765686], [0.1500382423400879, 0.19089026749134064, -0.0157343577593565, 0.03349311649799347, 0.04713975638151169, -0.028673838824033737, 0.1767405867576599, 0.05838587507605553, -0.2291359156370163, 0.23374584317207336, 0.26305168867111206, 0.1639183759689331, -0.07107910513877869, -0.11100774258375168, 0.4671793282032013, 0.04614614322781563, 0.2516072690486908, -0.07747465372085571, -0.040621060878038406, 0.1353529989719391, -0.09671792387962341, -0.08602726459503174, -0.26256999373435974, -0.4555703103542328], [-0.02139277197420597, 0.10746582597494125, -0.27185726165771484, 0.20488937199115753, -0.009398615919053555, 0.019072139635682106, 0.4608888030052185, -0.035178255289793015, 0.05568874627351761, -0.28040674328804016, -0.03845690190792084, -0.13469812273979187, -0.08951407670974731, 0.2179097831249237, 0.27717265486717224, 0.028432313352823257, -0.39963194727897644, 0.1343551129102707, 0.17232991755008698, -0.08715688437223434, -0.19383002817630768, -0.23880986869335175, -0.07649872452020645, 0.296021968126297], [0.10053927451372147, -0.43533018231391907, -0.10014136135578156, -0.3197929859161377, 0.07124090194702148, -0.10302099585533142, -0.23986022174358368, -0.11824998259544373, 0.26727357506752014, 0.230770543217659, -0.009055901318788528, -0.03367297723889351, -0.061434198170900345, 0.21705719828605652, -0.1560322791337967, 0.010766169056296349, -0.12951788306236267, 0.06855442374944687, -0.24754908680915833, 0.06998497247695923, -0.053988855332136154, -0.025787165388464928, 0.3810565769672394, 0.39876285195350647], [0.07851076126098633, -0.16944772005081177, 0.07220708578824997, -0.0976213812828064, 0.20304107666015625, -0.5476852655410767, -0.052031151950359344, -0.260026752948761, 0.08504216372966766, 0.1009020134806633, -0.11240687221288681, -0.05295002833008766, 0.07778517156839371, 0.14275166392326355, 0.03338474780321121, 0.1860666275024414, 0.1986793428659439, -0.03935321047902107, -0.5316933393478394, 0.1680317521095276, 0.06944890320301056, -0.04671728238463402, 0.16822054982185364, 0.22058765590190887], [-0.02332472987473011, -0.051720745861530304, 0.2463533878326416, 0.10871244221925735, -0.27691879868507385, -0.11985364556312561, -0.5139707922935486, 0.0030852684285491705, 0.02589331567287445, -0.1496301144361496, 0.07709153741598129, -0.09427408874034882, -0.11044437438249588, 0.14417068660259247, -0.18714115023612976, 0.00572454696521163, -0.06283077597618103, 0.033185720443725586, -0.3537982106208801, -0.4114357829093933, -0.27327656745910645, -0.013899507001042366, -0.08671019971370697, -0.28027740120887756], [-0.005460700020194054, -0.05175662040710449, 0.007152131292968988, 0.014787163585424423, -0.062360767275094986, 0.07974649220705032, 0.14753451943397522, 0.11032367497682571, -0.321077823638916, -0.18475127220153809, -0.1157861277461052, -0.23156096041202545, -0.4663240611553192, 0.2711799144744873, 0.1159568801522255, -0.1720234453678131, 0.10837676376104355, 0.07911986857652664, -0.024865496903657913, 0.5951185822486877, 0.05080030858516693, 0.08522605895996094, 0.13981997966766357, 0.11120276153087616], [-0.19536106288433075, 0.23648159205913544, -0.1823219507932663, 0.07246921211481094, -0.013941752724349499, 0.15218369662761688, 0.11220038682222366, 0.13356220722198486, 0.15407150983810425, -0.26686298847198486, -0.11058901250362396, -0.18548916280269623, 0.009195380844175816, 0.021693473681807518, -0.27030807733535767, 0.1621595323085785, -0.34966418147087097, 0.4269236922264099, 0.15244680643081665, -0.24170877039432526, 0.01903541199862957, 0.11471729725599289, -0.20297874510288239, 0.09508151561021805], [0.13204357028007507, -0.36665818095207214, -0.10987941175699234, -0.14145883917808533, -0.11335959285497665, -0.04495028406381607, -0.3100297451019287, -0.1814194768667221, 0.26444801688194275, 0.04745903238654137, -0.041021861135959625, 0.21681740880012512, 0.041858237236738205, 0.19141274690628052, -0.038181059062480927, 0.2810465097427368, -0.051258690655231476, 0.07722251862287521, -0.33162811398506165, -0.052869122475385666, 0.014193126000463963, 0.14808930456638336, 0.25538966059684753, -0.04873599857091904], [-0.009849893860518932, 0.1137411892414093, -0.0318063385784626, 0.1074443832039833, -0.7773867845535278, 0.14859506487846375, 0.14894375205039978, 0.05960068479180336, -0.024746093899011612, -0.12146063894033432, -0.04458511248230934, -0.0879271849989891, 0.008671674877405167, 0.12032599747180939, 0.022444160655140877, -0.023350954055786133, -0.05408462509512901, 0.10714741796255112, 0.05377860367298126, 0.4749693274497986, -0.03636600077152252, -0.01575041376054287, -0.0008172518573701382, 0.19015847146511078], [-0.3072982430458069, 0.2756308317184448, -0.33690330386161804, 0.09261072427034378, -0.10887236148118973, 0.24942679703235626, 0.2483762949705124, 0.14779618382453918, -0.00938830804079771, -0.05852348357439041, -0.021478652954101562, -0.30251452326774597, 0.09199576079845428, 0.2108009308576584, -0.06675314158201218, 0.026034926995635033, -0.4848935604095459, 0.20305673778057098, 9.739965025801212e-05, -0.0962609201669693, -0.24310822784900665, 0.04426763206720352, -0.14695821702480316, 0.14497248828411102], [-0.04532664641737938, 0.06560087203979492, -0.18148374557495117, 0.03148043155670166, -0.13430671393871307, 0.0479259230196476, 0.21176163852214813, -0.1538485288619995, -0.052344970405101776, -0.39772477746009827, -0.12154284119606018, 0.10819919407367706, -0.07642748206853867, 0.17186741530895233, 0.014308753423392773, -0.6006911396980286, -0.09144408255815506, -0.027597865089774132, -0.0430261567234993, 0.5109257102012634, 0.10584330558776855, 0.0415288507938385, 0.04196842387318611, 0.018412921577692032], [0.06549348682165146, 0.06027810648083687, 0.04977395385503769, -0.06706486642360687, 0.2899950444698334, 0.17158138751983643, -0.13970059156417847, 0.030682474374771118, 0.08814563602209091, -0.06326045840978622, 0.07568608224391937, 0.13759121298789978, -0.034923531115055084, -0.09189300984144211, 0.10106319189071655, 0.2007278949022293, 0.3206178843975067, -0.2513863742351532, 0.13105013966560364, 0.17078392207622528, 0.019817212596535683, 0.03546091169118881, -0.04753825441002846, -0.1271091103553772], [0.07035186886787415, 0.09698936343193054, 0.24084198474884033, 0.18862736225128174, -0.45542317628860474, 0.04946640133857727, -0.02945789508521557, 0.09865282475948334, 0.10149705410003662, 0.3429903984069824, 0.04520381987094879, -0.08016245812177658, 0.5260637402534485, -0.3272044360637665, -0.23075203597545624, 0.008277293294668198, 0.12174680829048157, 0.07504671812057495, 0.12434364855289459, -0.11262417584657669, -0.19269387423992157, -0.009260507300496101, -0.06570933759212494, -0.06626211106777191], [0.1583685576915741, -0.692783772945404, 0.05242542922496796, -0.04709886759519577, -0.017895707860589027, 0.027437029406428337, 0.22233909368515015, 0.028612913563847542, -0.09556341171264648, -0.027025070041418076, 0.22741082310676575, 0.026118813082575798, -0.18194478750228882, 0.06489195674657822, 0.03779428452253342, 0.0066883256658911705, 0.050330616533756256, -0.04010454937815666, 0.006367295514792204, -0.08780711889266968, 0.07437602430582047, -0.2403731793165207, 0.039460934698581696, -0.5107520818710327]], "biases": [0.6883925795555115, -0.37508484721183777, 0.1344633549451828, 0.5184328556060791, 0.08977650851011276, 0.12293155491352081, -0.025429554283618927, 0.12929338216781616, 0.29786860942840576, 0.5273805260658264, -0.2610947787761688, 0.35041549801826477, -0.11564021557569504, 0.2049717754125595, -0.8851451873779297, -0.24107706546783447]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.05155373364686966, -0.08596591651439667, 0.15326130390167236, 0.00565489474684, -0.17074888944625854, 0.47046512365341187, 0.030177220702171326, -0.2803259789943695, -0.45748695731163025, 0.28155532479286194, -0.41591477394104004, 0.024427445605397224, 0.15464991331100464, 0.32829219102859497, -0.1763744056224823, 0.05497781187295914], [-0.10667518526315689, 0.06465046107769012, 0.22447925806045532, -0.07701043039560318, -0.15106776356697083, 0.4574318528175354, 0.10414469242095947, -0.3550744354724884, -0.27405160665512085, 0.34286901354789734, -0.28485220670700073, -0.17234502732753754, 0.19966986775398254, 0.1903279572725296, -0.3352086544036865, 0.057096824049949646], [-0.2144407033920288, 0.08201048523187637, 0.13253363966941833, -0.14325274527072906, 0.054051876068115234, 0.340224027633667, 0.2850908935070038, -0.398061603307724, -0.433829665184021, 0.2000330239534378, -0.17456306517124176, 0.030841873958706856, -0.10110563784837723, 0.3193623721599579, -0.2713033854961395, 0.1738133579492569], [-0.2020905762910843, 0.21540206670761108, 0.11665509641170502, -0.16968044638633728, 0.1376318335533142, 0.3750932514667511, 0.502651572227478, -0.3850589990615845, -0.1852423995733261, 0.14156055450439453, -0.289355605840683, -0.23319114744663239, -0.3861769735813141, 0.22488415241241455, -0.3064221441745758, 0.11001577228307724], [-0.2885860204696655, 0.35989058017730713, 0.008218939416110516, -0.24304142594337463, 0.2732844650745392, 0.06314679980278015, 0.7046334743499756, -0.435987651348114, -0.07826700061559677, 0.18944904208183289, -0.383298397064209, -0.2578054368495941, -0.5674197673797607, 0.4328516125679016, -0.24353477358818054, -0.12072241306304932], [-0.35099565982818604, 0.22230741381645203, 0.18851321935653687, -0.15558315813541412, 0.5318487882614136, 0.40842461585998535, 0.7392195463180542, -0.3899492919445038, -0.13253583014011383, -0.11311213672161102, -0.4521901309490204, -0.3381853699684143, -0.8159838914871216, -0.03663864731788635, 0.09742993861436844, -0.5720169544219971], [-0.3699725866317749, 0.25636258721351624, -0.11577968299388885, -0.06394948065280914, 0.2210443764925003, 0.2420339435338974, 0.6624920964241028, -0.23952406644821167, -0.009284176863729954, 0.15291191637516022, -0.7122965455055237, -0.4458123743534088, -0.8319138884544373, 0.27503904700279236, 0.06269282847642899, -0.8707074522972107], [-0.4327073097229004, 0.06741125881671906, 0.08929036557674408, -0.2575010359287262, 0.33708155155181885, 0.2314763367176056, 0.6677351593971252, -0.3899126946926117, -0.09031376242637634, 0.22663943469524384, -0.2729679346084595, -0.4034719467163086, -0.9993221163749695, -0.0601806566119194, 0.0813576728105545, -0.8851931691169739], [-0.5312991142272949, -0.131830096244812, 0.02726980857551098, -0.29325008392333984, 0.14203225076198578, 0.3263337016105652, 0.3241485059261322, -0.34128400683403015, -0.23269927501678467, 0.3550061583518982, -0.22264310717582703, -0.26467835903167725, -1.2239224910736084, -0.16209448873996735, 0.2754933536052704, -0.7263858318328857], [-0.5888590812683105, -0.5621527433395386, -0.19730277359485626, -0.22957658767700195, 0.3343687355518341, 0.26426181197166443, 0.34401795268058777, -0.36278197169303894, -0.4404073655605316, 0.09459325671195984, -0.3669295310974121, -0.009804594330489635, -1.3101613521575928, 0.1383703052997589, 0.6523816585540771, -0.3442285358905792], [-0.4823272228240967, -0.4248327612876892, -0.3219577372074127, -0.2565174698829651, -0.02458920143544674, 0.14324405789375305, 0.32490530610084534, -0.3542681038379669, -0.24890388548374176, 0.46941760182380676, -0.35756975412368774, -0.22522230446338654, -1.1070516109466553, 0.24817243218421936, 0.4867602288722992, -0.32285618782043457], [-0.43143177032470703, -0.5190048217773438, 0.023256836459040642, -0.3497270345687866, 0.20545202493667603, 0.3127736449241638, 0.2789183259010315, -0.6307858228683472, -0.0898776575922966, 0.36692991852760315, 0.1326817125082016, -0.5424331426620483, -1.1094682216644287, -0.26825255155563354, 0.397020548582077, -0.3507421016693115]], "biases": [0.02539210394024849, 0.036680854856967926, 0.1200345978140831, 0.12396753579378128, 0.12067539244890213, 0.23631243407726288, 0.08393757045269012, 0.15424948930740356, 0.14238634705543518, 0.263164222240448, -0.001090445788577199, 0.07362989336252213]}}

# 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.3 0.2 0.2 0.1 -0.0 0.1 0.1 0...
Truncated

Test 2

Verdict: ACCEPTED

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

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

user output
2.7 2.7 2.6 2.4 2.4 2.2 2.3 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.3 10.2 9.9 9.4 8.6 7.3 6.4 ...
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.9 17.7 17.5 17.0 16.6 15.6 ...
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.5 -4.5 -4.5 -4.6 -4.8 ...
Truncated

Test 6

Verdict: ACCEPTED

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

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

user output
13.1 12.9 12.4 11.9 11.3 10.6 ...
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.9 -1.9 -1.9 -2.1 -2.3 -2.3 ...
Truncated

Test 8

Verdict: ACCEPTED

input
1000
15.1 15.3 14.9 14.4 14.4 13.7 ...

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

user output
15.5 15.3 15.0 14.6 14.2 13.5 ...
Truncated