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

Code

layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.007204144727438688, 0.22117869555950165, 0.3261449337005615, 0.03897113353013992, 0.15778258442878723, -0.14090582728385925, -0.2956429719924927, -0.11434682458639145, -0.10008810460567474, -0.29157549142837524, -0.1707252711057663, -0.026318060234189034, -0.11343032121658325, -0.21984194219112396, 0.26958853006362915, 0.15314103662967682, -0.08966689556837082, -0.0057926787994802, 0.04218165948987007, 0.11616497486829758, -0.13012056052684784, -0.16898177564144135, 0.26753076910972595, -0.23265030980110168], [0.4385811686515808, -0.0909808874130249, 0.025263750925660133, -0.18122351169586182, 0.09979546070098877, -0.16293932497501373, -0.09441957622766495, -0.12298353016376495, 0.09295298904180527, 0.30597272515296936, -0.04922831803560257, -0.22881944477558136, -0.05357901751995087, 0.2514631450176239, -0.09733466804027557, 0.35149067640304565, 0.21346303820610046, -0.392320841550827, -0.41533008217811584, -0.005529071670025587, 0.16850844025611877, -0.032402168959379196, 0.1675190031528473, -0.47291556000709534], [-0.15740571916103363, -0.15759135782718658, -0.24154137074947357, -0.32674992084503174, 0.08544035255908966, -0.23076632618904114, 0.23878546059131622, 0.35967665910720825, -0.08011821657419205, 0.2823871970176697, 0.33795860409736633, 0.15357086062431335, 0.21210645139217377, 0.03343292325735092, 0.15152521431446075, 0.11337538808584213, -0.3452930152416229, -0.06078234314918518, 0.06328248232603073, 0.2533242702484131, -0.09793087840080261, -0.0809251144528389, 0.2017495483160019, 0.18297280371189117], [-0.16030052304267883, 0.1748269945383072, -0.13137373328208923, -0.3440859913825989, -0.19183111190795898, -0.0010891222627833486, -0.08888766914606094, -0.21581222116947174, -0.17736020684242249, 0.22657206654548645, 0.08501879870891571, 0.1531333476305008, -0.2658933401107788, 0.10909704864025116, 0.2194291204214096, 0.18414811789989471, -0.20281942188739777, 0.06550391763448715, 0.13524138927459717, 0.19947665929794312, -0.10172885656356812, -0.3306150436401367, 0.02075483649969101, -0.07685647159814835], [-0.14569927752017975, -0.025486264377832413, -0.2913626730442047, -0.24212989211082458, 0.10465748608112335, -0.013708557933568954, 0.2772809565067291, 0.3441769480705261, 0.10190514475107193, 0.015173804014921188, -0.18948404490947723, 0.2194182574748993, 0.428393691778183, 0.038663189858198166, 0.03049798682332039, 0.3525078296661377, 0.16399626433849335, 0.21842269599437714, 0.19188262522220612, -0.257967084646225, -0.05834939330816269, 0.31774425506591797, 0.40104201436042786, -0.14708520472049713], [0.1967201977968216, 0.10486103594303131, -0.02597641386091709, -0.248701274394989, -0.10250625759363174, -0.36203473806381226, 0.20376573503017426, 0.12581263482570648, 0.20402033627033234, -0.36257943511009216, 0.0442638099193573, 0.24176965653896332, -0.19458116590976715, 0.2911214232444763, -0.15288066864013672, 0.03738556057214737, -0.13545745611190796, 0.4257170557975769, 0.08331647515296936, 0.43393275141716003, -0.20260316133499146, -0.07732008397579193, -0.18633851408958435, -0.4796627163887024], [0.20479415357112885, -0.009428593330085278, -0.16697439551353455, -0.08371658623218536, 0.14876560866832733, 0.2968379855155945, -0.2525736093521118, -0.1877262443304062, -0.07248634099960327, 0.12222635746002197, -0.2756195068359375, 0.32846248149871826, -0.02055201306939125, -0.17400744557380676, 0.2184808999300003, 0.31759628653526306, -0.0031820377334952354, 0.06341342628002167, -0.11764546483755112, 0.09259478747844696, -0.20853303372859955, 0.0196443572640419, -0.13669925928115845, -0.6513711810112], [-0.1715807020664215, 0.2848491370677948, 0.3175310492515564, -0.17958803474903107, -0.10069943964481354, 0.3008498251438141, -0.22677132487297058, 0.3235302269458771, 0.09431125968694687, -0.025051174685359, 0.056264981627464294, -0.21511270105838776, -0.050890546292066574, -0.1159198060631752, -0.06517282128334045, -0.23736070096492767, 0.2717396914958954, 0.2917620539665222, -0.3460043966770172, -0.022214720025658607, -0.1598386913537979, 0.08813568949699402, -0.3950580954551697, -0.4983918070793152], [-0.27619144320487976, -0.027522699907422066, -0.34740760922431946, -0.42068564891815186, -0.1610584408044815, 0.11890633404254913, -0.2925410568714142, 0.17007921636104584, 0.2614343762397766, -0.2912837266921997, 0.20176811516284943, 0.11044318974018097, 0.04038115218281746, -0.20881587266921997, 0.29924601316452026, 0.017582565546035767, 0.3945438861846924, 0.47186851501464844, 0.18786944448947906, -0.2030847817659378, 0.3482486307621002, -0.1396431028842926, -0.2962857186794281, -0.40705376863479614], [-0.16890084743499756, 0.36016127467155457, -0.06684375554323196, -0.050288062542676926, -0.27523311972618103, -0.040978286415338516, 0.11831773072481155, 0.21994157135486603, 0.34540557861328125, -0.10996993631124496, 0.21602562069892883, -0.21696434915065765, -0.18751034140586853, -0.050737280398607254, 0.10989318788051605, -0.11668603867292404, -0.12384068220853806, 0.17987613379955292, -0.2683373689651489, 0.2796977460384369, -0.3454422056674957, -0.22148245573043823, 0.2183307707309723, -0.12771862745285034], [-0.021419702097773552, -0.033595215529203415, 0.2789921462535858, 0.30764076113700867, 0.16922472417354584, 0.1958494931459427, 0.17807716131210327, 0.08886051177978516, 0.09677858650684357, -0.09566787630319595, 0.2845589220523834, -0.2881799638271332, 0.028613800182938576, -0.1904454082250595, -0.2812140882015228, -0.09086846560239792, 0.022071007639169693, -0.14728114008903503, -0.01756955310702324, 0.17074406147003174, 0.018567683175206184, -0.24310635030269623, 0.13519339263439178, 0.4273934066295624], [0.26352471113204956, 0.029153084382414818, -0.10292360931634903, -0.19716256856918335, 0.06219671294093132, 0.11674290895462036, -0.39594313502311707, 0.03630297631025314, 0.22782082855701447, -0.21024508774280548, -0.2523256540298462, 0.29584264755249023, -0.06512679159641266, 0.10781212151050568, 0.04050346091389656, 0.3586949408054352, 0.06498900055885315, 0.07300882041454315, 0.04082764312624931, 0.1627124547958374, 0.3806895613670349, -0.0996282622218132, 0.20579716563224792, 0.22330184280872345], [-0.22894152998924255, -0.061683475971221924, 0.16817687451839447, 0.21706600487232208, 0.2572559416294098, -0.31978708505630493, 0.3105027675628662, 0.10803370177745819, -0.14705096185207367, -0.12001615762710571, -0.03252596780657768, -0.29844143986701965, 0.046388790011405945, -0.23250238597393036, -0.0819597914814949, 0.012836288660764694, -0.27712681889533997, -0.11297010630369186, 0.16823922097682953, 0.2633589506149292, 0.09959635138511658, -0.05243038013577461, -0.13128381967544556, -0.6423226594924927], [-0.2736496925354004, -0.2575957477092743, -0.13069960474967957, -0.16106219589710236, 0.026423662900924683, -0.02230037935078144, 0.33830854296684265, 0.17770609259605408, -0.32871368527412415, -0.04543454945087433, -0.1416228860616684, 0.15084414184093475, -0.14933040738105774, -0.12067636847496033, -0.1921561062335968, -0.005139905959367752, 0.22981314361095428, -0.25243160128593445, 0.30729010701179504, 0.22224308550357819, 0.2214820683002472, -0.3512764871120453, 0.07229258865118027, 0.25272876024246216], [-0.08211787045001984, -0.1972256898880005, -0.2624317407608032, -0.189539834856987, 0.017126569524407387, 0.09386425465345383, 0.2758280634880066, 0.18473277986049652, 0.335784912109375, -0.22163322567939758, 0.10977154970169067, 0.17944243550300598, 0.31853339076042175, -0.2504518926143646, -0.027156205847859383, 0.007715161424130201, 0.4404778778553009, -0.11008220911026001, 0.2880176603794098, -0.12002278864383698, 0.13990317285060883, 0.1372070461511612, 0.024432310834527016, 0.12294355034828186], [0.023777436465024948, 0.13249915838241577, -0.2784195840358734, 0.17834149301052094, -0.16149485111236572, 0.20765420794487, -0.19752076268196106, -0.09860808402299881, -0.016118301078677177, 0.07909003645181656, -0.27620068192481995, 0.20351609587669373, -0.006642269901931286, 0.2032761573791504, -0.3123931586742401, -0.33660057187080383, 0.013857348822057247, 0.3027871549129486, 0.06607522070407867, -0.09008561074733734, 0.09918805211782455, 0.16370832920074463, 0.12375528365373611, 0.7481564283370972], [-0.20349673926830292, 0.2561449706554413, -0.06191091239452362, 0.2368742823600769, 0.14224626123905182, 0.16790086030960083, 0.371491014957428, -0.05065826326608658, 0.15315881371498108, -0.16231954097747803, 0.05549805611371994, -0.22792671620845795, 0.3177488148212433, -0.2562257647514343, 0.18080662190914154, 0.41962024569511414, -0.2269461750984192, 0.4196549654006958, 0.25343218445777893, -0.04731210321187973, -0.12072189152240753, 0.3122421205043793, 0.0084678428247571, 0.5412423610687256], [-0.007710658013820648, -0.13763876259326935, 0.2382417619228363, 0.12328492105007172, -0.2786155045032501, 0.0074274674989283085, -0.17195165157318115, -0.08848597854375839, -0.00740631902590394, -0.1517963856458664, 0.06615666300058365, 0.005742487497627735, -0.014080540277063847, -0.29084375500679016, 0.2441968470811844, 0.21618084609508514, 0.04627154394984245, -0.1312638521194458, -0.038371678441762924, 0.1300298124551773, 0.14744099974632263, -0.28888678550720215, -0.3493698835372925, 0.5565661787986755], [0.27708762884140015, 0.1044582799077034, -0.20812475681304932, 0.30627453327178955, 0.012725085020065308, -0.15255926549434662, -0.05839373543858528, -0.28210222721099854, 0.11394015699625015, 0.3313029706478119, -0.08791569620370865, 0.016637777909636497, 0.3104679584503174, -0.16638262569904327, -0.17419219017028809, -0.2264794409275055, 0.0017785840900614858, -0.3303804099559784, -0.3236157298088074, 0.2587854266166687, -0.2892563045024872, -0.35208427906036377, 0.15384861826896667, -0.23997488617897034], [-0.017194118350744247, 0.26974350214004517, 0.23249782621860504, 0.015280644409358501, 0.02344154752790928, 0.17308004200458527, 0.10783356428146362, -0.04508335143327713, 0.13975249230861664, -0.12712204456329346, 0.2085210680961609, 0.10721594840288162, -0.1541650891304016, 0.34590423107147217, -0.04005560651421547, -0.17236602306365967, -0.022295143455266953, 0.2749859392642975, -0.28700971603393555, -0.23950810730457306, 0.08535955846309662, 0.48300492763519287, -0.11242441087961197, -0.3902774453163147], [-0.10303173214197159, -0.03218481317162514, 0.22296543419361115, -0.20847772061824799, -0.1775858849287033, -0.18122904002666473, 0.42811015248298645, -0.22895586490631104, 0.15444962680339813, -0.07558595389127731, -0.3010154068470001, 0.21853770315647125, -0.25179874897003174, -0.17348676919937134, -0.3285606801509857, 0.33698317408561707, 0.23441840708255768, 0.27795207500457764, 0.04929753765463829, 0.24838893115520477, -0.0756884440779686, -0.06875792145729065, -0.011089339852333069, 0.43356379866600037], [-0.1062365248799324, 0.12252821773290634, -0.03880641981959343, -0.0665438249707222, 0.19297723472118378, -0.06153388321399689, 0.03853460028767586, 0.15098406374454498, -0.21225044131278992, 0.11129291355609894, -0.03715130686759949, 0.08094460517168045, -0.1857030987739563, 0.11444530636072159, 0.2702585458755493, 0.06262657791376114, -0.11147968471050262, 0.24916261434555054, -0.26851314306259155, -0.06526801735162735, -0.14271482825279236, 0.19896847009658813, 0.2062072902917862, 0.5186709761619568], [0.25584861636161804, -0.13383352756500244, 0.14203551411628723, 0.2567515969276428, 0.019623281434178352, -0.2851680815219879, 0.023135609924793243, 0.08988822251558304, -0.014230302534997463, 0.1382296234369278, -0.058994539082050323, -0.01644684374332428, -0.250638872385025, 0.19321396946907043, 0.13975217938423157, 0.034675855189561844, 0.33284178376197815, -0.24491865932941437, -0.38159772753715515, -0.2729020416736603, -0.21786010265350342, 0.007237999700009823, 0.043520696461200714, 0.3711079955101013], [-0.05644957348704338, 0.20653162896633148, 0.16621100902557373, 0.2460695505142212, -0.18835309147834778, -0.28011223673820496, -0.15155808627605438, 0.28882381319999695, -0.17848965525627136, -0.21031303703784943, -0.12861306965351105, 0.07367515563964844, -0.035112157464027405, 0.1404682844877243, -0.20990048348903656, 0.0006822273135185242, -0.19575800001621246, 0.011013301089406013, -0.012780530378222466, 0.31417542695999146, 0.18016697466373444, -0.30862534046173096, -0.406544953584671, -0.3941623568534851]], "biases": [0.19613519310951233, 0.366792231798172, 0.1115725114941597, -0.6421537399291992, 0.2930261492729187, 0.5210826992988586, 0.2469140589237213, 0.4109470546245575, 0.11243589967489243, 0.12479002773761749, -0.2279365509748459, 0.34859514236450195, 0.3248087465763092, 0.1348637491464615, 0.2175694853067398, 0.2695356011390686, 0.14082105457782745, 0.5293505787849426, 0.2220221906900406, 0.33433952927589417, 0.40729522705078125, -0.04524486884474754, -0.08857104927301407, 0.22026844322681427]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[-0.09445706009864807, 0.18548011779785156, 0.1435154676437378, -0.25942614674568176, 0.07946018874645233, -0.1915307492017746, -0.1978687196969986, -0.05530816316604614, 0.005083170253783464, -0.022068237885832787, 0.38366132974624634, 0.3239218294620514, -0.27932119369506836, 0.14446701109409332, -0.17585903406143188, 0.20283043384552002, -0.06359829753637314, 0.17163102328777313, 0.11410883814096451, -0.10480010509490967, 0.09434892237186432, 0.38059723377227783, 0.0964120477437973, 0.3053814768791199], [0.13642027974128723, 0.44256940484046936, -0.25027400255203247, 0.07906070351600647, 0.15040691196918488, 0.4928484261035919, 0.30830681324005127, 0.22599762678146362, 0.16527128219604492, -0.14251874387264252, -0.2110755890607834, -0.16566281020641327, 0.40942248702049255, 0.14304165542125702, 0.31471922993659973, -0.4684753715991974, -0.0007821010076440871, -0.16211138665676117, 0.2317928671836853, 0.10733374208211899, -0.16353848576545715, 0.2404302954673767, -0.17137260735034943, -0.21687327325344086], [0.25678983330726624, 0.3676023483276367, -0.17874939739704132, 0.29166367650032043, 0.26971912384033203, 0.29213500022888184, -0.08086767047643661, -0.12298908084630966, 0.16802071034908295, 0.17797821760177612, -0.21135400235652924, 0.23056475818157196, 0.1875583976507187, -0.2539807856082916, 0.2078104466199875, -0.49530893564224243, -0.12820477783679962, -0.004913919139653444, 0.08014517277479172, 0.12450411170721054, -0.13190500438213348, -0.2305784523487091, 0.47962167859077454, -0.1955842226743698], [0.06756304949522018, 0.01449854951351881, 0.09315185993909836, 0.12065325677394867, 0.2740885019302368, -0.0022988596465438604, -0.0020208703354001045, 0.1391831636428833, -0.1549065262079239, 0.04358603060245514, -0.07351449877023697, 0.20635639131069183, -0.3864181935787201, 0.20215070247650146, -0.02986469678580761, 0.32477155327796936, 0.42068955302238464, 0.013680769130587578, 0.19797371327877045, 0.12638525664806366, 0.0685819610953331, 0.04761907458305359, 0.289877325296402, -0.009328508749604225], [0.07124360650777817, 0.3863714337348938, -0.2442261427640915, -0.24353916943073273, 0.16494490206241608, 0.16549374163150787, 0.28880220651626587, 0.1559515744447708, 0.2793278098106384, 0.029794132336974144, -0.0803888812661171, -0.47122013568878174, 0.17841707170009613, 0.2859340310096741, 0.044884275645017624, -0.04988102614879608, 0.04185950756072998, 0.06080329045653343, -0.00445784255862236, 0.10783438384532928, -0.4326784908771515, -0.22146636247634888, -0.19139336049556732, -0.030517201870679855], [-0.06726868450641632, -0.07400356978178024, -0.10682033747434616, -0.2527087926864624, 0.27102333307266235, 0.4969143271446228, 0.47958362102508545, 0.3774694502353668, 0.235234797000885, 0.22256053984165192, -0.1749735027551651, -0.10967154055833817, 0.14893008768558502, -0.13043853640556335, 0.1873483508825302, -0.3151777386665344, 0.029454851523041725, -0.026474405080080032, 0.10133247077465057, 0.0870537981390953, -0.045011069625616074, -0.31178998947143555, 0.03395460918545723, 0.4110020697116852], [0.06256181001663208, 0.09636539965867996, -0.11806714534759521, 0.10887380689382553, -0.1436568796634674, -0.04369768500328064, -0.021987272426486015, -0.09943472594022751, -0.10560853034257889, -0.158690944314003, 0.004231543745845556, -0.29136034846305847, -0.09696692228317261, 0.016456985846161842, 0.25565585494041443, 0.0030633865389972925, 0.2439703643321991, 0.02773616835474968, -0.4087933897972107, -0.15661583840847015, 0.1905001401901245, -0.09195391833782196, 0.08697822690010071, -0.23766911029815674], [0.07714837044477463, -0.25148487091064453, 0.22581833600997925, 0.1359526515007019, -0.1620202660560608, -0.07158903032541275, -0.2077741026878357, -0.32655858993530273, -0.11518598347902298, -0.2111310362815857, -0.3040737211704254, 0.1145426332950592, 0.09261301159858704, -0.42484721541404724, -0.10238954424858093, -0.1416265219449997, -0.15644189715385437, 0.1710827648639679, -0.2569499909877777, -0.2964276671409607, 0.15612369775772095, -0.3232131004333496, 0.4270118176937103, 0.06776954978704453], [-0.14806117117404938, -0.21248261630535126, -0.4085816740989685, 0.0384942926466465, 0.19791772961616516, 0.06892325729131699, 0.47486162185668945, 0.2914625108242035, 0.18953189253807068, 0.05663929134607315, 0.1436747908592224, -0.13268546760082245, -0.07746327668428421, -0.26762959361076355, -0.08842748403549194, 0.17213718593120575, -0.06753190606832504, -0.16498181223869324, 0.33320873975753784, 0.39204415678977966, 0.1256142109632492, -0.23477596044540405, 0.09499568492174149, 0.39226582646369934], [-0.23111212253570557, 0.4602022171020508, -0.18681170046329498, 0.23799993097782135, 0.024218518286943436, -0.07382681965827942, 0.5033823847770691, 0.024754086509346962, 0.04513446241617203, 0.040641870349645615, -0.009665225632488728, 0.34319549798965454, 0.2433067113161087, 0.30577075481414795, 0.0692257210612297, -0.23136866092681885, -0.10398466885089874, -0.3766765594482422, 0.10521136224269867, 0.4172029495239258, -0.0070159523747861385, 0.06229031831026077, -0.11727579683065414, 0.18145820498466492], [-0.005194283090531826, 0.1289505511522293, 0.21141929924488068, -0.036333028227090836, -0.15952333807945251, 0.18628740310668945, -0.05423133075237274, -0.3355933427810669, -0.13280463218688965, 0.13764996826648712, -0.09138539433479309, 0.18166345357894897, 0.03656257688999176, 0.027971964329481125, 0.18443332612514496, 0.03877411037683487, 0.24142253398895264, 0.24795061349868774, -0.1509493589401245, -0.1946934312582016, -0.08521197736263275, 0.29152512550354004, 0.1985819786787033, 0.15406320989131927], [0.016621414572000504, 0.07348237931728363, 0.032201942056417465, 0.151380255818367, 0.11474614590406418, -0.018579626455903053, 0.06798934936523438, 0.021327367052435875, -0.41777288913726807, 0.3274385333061218, 0.08243146538734436, 0.18814128637313843, -0.3101949989795685, 0.3209925889968872, 0.43285369873046875, 0.21549823880195618, 0.4042734205722809, 0.3773501515388489, 0.1157887727022171, 0.24385689198970795, 0.25205639004707336, 0.2720754146575928, 0.0845908522605896, -0.1913338601589203], [-0.045524854212999344, -0.07825716584920883, -0.16027696430683136, -0.2884843051433563, -0.11826760321855545, 0.07391582429409027, -0.31917285919189453, 0.11443237215280533, 0.11560245603322983, -0.09135416150093079, 0.361062228679657, -0.09642886370420456, 0.03017144650220871, 0.007284882944077253, -0.041294071823358536, 0.4258706569671631, -0.1062287837266922, 0.05183808133006096, 0.3393501937389374, -0.14908577501773834, -0.11060373485088348, 0.3164934515953064, -0.011426761746406555, -0.1455916166305542], [-0.2088821530342102, 0.11981598287820816, -0.10453047603368759, -0.3374393880367279, 0.14645637571811676, 0.01651039347052574, 0.19603542983531952, 0.22828710079193115, 0.3564295768737793, 0.05546017363667488, 0.33014827966690063, 0.03260399401187897, 0.021292518824338913, 0.02844904363155365, -0.3343126177787781, 0.3080950975418091, -0.11963911354541779, -0.12858358025550842, 0.20030806958675385, -0.12695157527923584, 0.03156755119562149, 0.0411333292722702, 0.05865328758955002, 0.24969321489334106], [0.25686216354370117, -0.09246651083230972, -0.06212334334850311, 0.2511334717273712, 0.2147507667541504, -0.08037964999675751, 0.06600437313318253, -0.3624546229839325, -0.006108284927904606, -0.16558821499347687, -0.24415263533592224, -0.24526523053646088, -0.23683500289916992, -0.48251664638519287, -0.1054028868675232, -0.039551202207803726, 0.011674963869154453, 0.09762045741081238, 0.26959148049354553, 0.18979419767856598, -0.44856101274490356, 0.11728642880916595, 0.6264048218727112, -0.20917031168937683], [-0.171050027012825, 0.013813220895826817, 0.24981628358364105, 0.26231664419174194, -0.3366919755935669, -0.5448455810546875, 0.40356770157814026, -0.07580984383821487, 0.007809923961758614, 0.2801882326602936, -0.26282909512519836, 0.5148221254348755, -0.11974546313285828, 0.02540971152484417, -0.2926834225654602, 0.42002129554748535, -0.27702122926712036, -0.30359017848968506, 0.3057536482810974, -0.7225369215011597, 0.12289377301931381, -0.5695747137069702, 0.052077580243349075, -0.1458318829536438], [-0.31753411889076233, 0.00041655017412267625, 0.30539393424987793, -0.11361180245876312, -0.2804728150367737, -0.16805513203144073, 0.06883121281862259, 0.12684911489486694, -0.2109784185886383, 0.22360391914844513, -0.540368378162384, -0.2456805408000946, 0.21663428843021393, 0.05558720603585243, -0.0793861448764801, -0.32177820801734924, -0.10974685847759247, 0.13684120774269104, -0.0531826876103878, 0.17952387034893036, -0.15679942071437836, -0.18553680181503296, 0.24679034948349, -0.4904927611351013], [-0.5308032631874084, -0.09708273410797119, 0.6445255875587463, -0.06981190294027328, -0.3937748968601227, 0.008933204226195812, 0.22872333228588104, 0.14843252301216125, 0.11614522337913513, -0.20438344776630402, -0.2401643544435501, -0.4860348403453827, 0.31897643208503723, -0.0756489634513855, -0.6981743574142456, -0.5775560736656189, -0.29091060161590576, 0.05329166352748871, 0.06525416672229767, 0.07347488403320312, -0.17912903428077698, 0.16804549098014832, -0.20390230417251587, 0.19663147628307343]], "biases": [0.17544136941432953, 0.5967897176742554, 0.41343092918395996, 0.056378304958343506, 0.08858344703912735, 0.5860639214515686, 0.012195732444524765, -0.11294272541999817, 0.25202012062072754, 0.29773542284965515, 0.06880372017621994, 0.18585295975208282, -0.04476866126060486, 0.13533829152584076, -0.1584921032190323, -0.49921244382858276, -0.4741082489490509, -0.9701521396636963]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.1247313916683197, -0.39010655879974365, 0.12911395728588104, -0.1370364874601364, 0.13208487629890442, -0.22864867746829987, -0.1858784556388855, -0.22681105136871338, -0.0006512530380859971, -0.36487123370170593, 0.5475757122039795, 0.24624621868133545, 0.347893625497818, 0.16530002653598785, -0.06623144447803497, -0.03581774979829788, 0.2643284499645233, -0.18436504900455475], [0.3315783739089966, -0.06880909204483032, 0.034779906272888184, 0.18350952863693237, -0.28154122829437256, -0.09535393863916397, -0.09515304118394852, 0.044247448444366455, -0.35541248321533203, -0.24745948612689972, -0.1587042212486267, 0.14325179159641266, 0.38755089044570923, 0.09472952038049698, -0.06605713069438934, -0.12815380096435547, -0.3478410840034485, 0.06112910807132721], [0.4916430711746216, 0.05138999968767166, -0.0630536824464798, 0.37917467951774597, -0.16063854098320007, -0.2558952569961548, 0.05634985864162445, -0.29088714718818665, -0.1372154802083969, -0.3974609971046448, -0.11765029281377792, -0.07500828802585602, 0.13187377154827118, 0.11926921457052231, -0.2213350087404251, -0.061453890055418015, -0.12166876345872879, -0.13698165118694305], [0.3329663872718811, -0.326072096824646, -0.14362747967243195, 0.2742100954055786, -0.13879920542240143, 0.06334470212459564, 0.40535902976989746, 0.32363876700401306, -0.19757042825222015, -0.03495676442980766, 0.16381442546844482, -0.08499488234519958, 0.48621299862861633, -0.2337450087070465, -0.25902098417282104, -0.005394704174250364, -0.3172115385532379, -0.24262680113315582], [-0.015298047102987766, 0.17495934665203094, -0.23091450333595276, 0.054028354585170746, -0.10124154388904572, -0.3423486649990082, 0.035844579339027405, 0.33602550625801086, -0.07251761108636856, -0.44664236903190613, -0.04145481064915657, 0.3730205297470093, 0.2998954951763153, 0.05695628747344017, -0.3827992379665375, 0.07462230324745178, -0.045626621693372726, -0.0950109213590622], [-0.14904117584228516, -0.2782890498638153, -0.1536378264427185, 0.06651131063699722, 0.008755018934607506, -0.1251571774482727, 0.37273991107940674, -0.23033639788627625, -0.20730677247047424, -0.15704871714115143, -0.06121217459440231, 0.38486447930336, 0.28492245078086853, 0.0487060621380806, -0.4166084825992584, 0.03664332255721092, 0.2730860710144043, -0.11607711017131805], [0.4492041766643524, -0.4323793351650238, -0.1254350244998932, -0.014230667613446712, -0.07719149440526962, 0.10159111022949219, 0.5977793335914612, -0.38148072361946106, -0.20730511844158173, -0.09149965643882751, -0.3194543123245239, 0.2760934829711914, -0.043351516127586365, -0.2324298769235611, -0.4709981381893158, 0.20944255590438843, -0.2938835024833679, -0.001378263346850872], [-0.20394159853458405, 0.31948190927505493, -0.36960074305534363, -0.11854448169469833, -0.4138557016849518, -0.5547903776168823, 0.17903319001197815, 0.20567719638347626, 0.04967474192380905, -0.3180389106273651, 0.28363338112831116, 0.45224836468696594, -0.21172912418842316, 0.24818511307239532, -0.3523609936237335, 0.13971121609210968, 0.08320769667625427, -0.09956289082765579], [-0.3217308521270752, 0.018816355615854263, -0.07285358011722565, 0.27584630250930786, -0.314769446849823, -0.5336470007896423, 0.06281287223100662, -0.08374862372875214, -0.003483144100755453, -0.2482471764087677, 0.2534635365009308, 0.18410779535770416, -0.17081032693386078, 0.19627992808818817, -0.5792732238769531, 0.04536489024758339, 0.019784292206168175, 0.21718738973140717], [0.19439639151096344, -0.4286434054374695, -0.34848660230636597, -0.2428063154220581, -0.35818925499916077, -0.04888123273849487, 0.14820794761180878, -0.46469852328300476, -0.1796439290046692, 0.24106168746948242, 0.4218495488166809, 0.24986697733402252, -0.3004221022129059, 0.04462629556655884, -0.20657452940940857, 0.21669982373714447, -0.17576490342617035, -0.14748424291610718], [0.033295296132564545, -0.2615368962287903, -0.29778391122817993, 0.15125127136707306, 0.2886523902416229, -0.26068735122680664, -0.2662627696990967, 0.2251252681016922, 0.058198727667331696, -0.3941177725791931, -0.0625561773777008, 0.2658305764198303, -0.21731992065906525, -0.2809229791164398, -0.3994145393371582, 0.41537871956825256, -0.4300164580345154, 0.32701271772384644], [0.13132686913013458, -0.20207913219928741, -0.3124793469905853, 0.16662414371967316, -0.36124566197395325, -0.02164503000676632, -0.11266571283340454, -0.4712914228439331, -0.2490299642086029, 0.05701357126235962, -0.014592917636036873, 0.13166193664073944, -0.06214311346411705, -0.3607896566390991, -0.3648441731929779, 0.2618825435638428, 0.08545663952827454, 0.358154833316803]], "biases": [0.2169920802116394, 0.21709908545017242, 0.08774632960557938, 0.04592873901128769, -0.0375891737639904, -0.07373902201652527, -0.11063722521066666, -0.15012668073177338, -0.01545562781393528, -0.15228116512298584, 0.017652736976742744, -0.14493682980537415]}}



def rectified(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] = rectified(activation)
            else: 
                output[n] = activation
        
        input = output 

    return input

# import numpy as np
# import sys

# total_correct = 0
# total_incorrect = 0

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

    past = temps[:24]
    ans = custom_predict(past)
    # truth = temps[24:]

    # for j in range(len(ans)):
    #     if (abs(ans[j] - past[j]) > 5): 
    #         ans[j] = truth[j] - 0.8

    # diff = np.abs(np.array(ans) - np.array(truth)) 

    # correct = np.count_nonzero(diff < 0.75)
    # incorrect = np.count_nonzero(diff >= 2.05)


    # if (incorrect > 0): 
    #     X = np.where(diff >= 2.05)
    #     for x in X:
    #         x = int(x)
    #         print(temps[x])
    #         print(truth[x])
    #         print(ans[x])
    #         print(diff[x])

    # total_correct += correct
    # total_incorrect += incorrect

    print(" ".join([format(x, ".1f") for x in ans]))

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

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

Test 2

Verdict: ACCEPTED

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

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

user output
2.6 2.6 2.5 2.3 2.1 2.1 2.1 2....
Truncated

Test 3

Verdict: ACCEPTED

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

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

user output
9.9 9.6 9.4 8.8 8.3 7.3 6.3 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.3 17.3 17.1 16.6 16.2 15.5 ...
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.3 -4.0 -4.2 -4.1 -4.4 -4.4 ...
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.1 12.2 12.2 11.5 10.8 10.1 ...
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.8 -1.8 -1.7 -2.1 -2.5 -2.7 ...
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
14.8 14.8 14.6 14.1 13.8 13.2 ...
Truncated