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

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.06481907516717911, 0.010813108645379543, 0.29157158732414246, -0.19388724863529205, -0.06787966191768646, -0.21360717713832855, 0.018802503123879433, -0.022339435294270515, 0.1492837369441986, 0.012150892987847328, 0.23809179663658142, -0.20830309391021729, 0.21581222116947174, 0.0770716518163681, 0.11403393745422363, -0.2572609484195709, -0.12933984398841858, -0.0849086195230484, -0.07378131151199341, -0.1389472633600235, -0.21943072974681854, -0.2054586559534073, -0.1573900729417801, -0.9858534336090088], [-0.0035466367844492197, 0.07992158830165863, -0.24561822414398193, 0.0858527347445488, 0.18431147933006287, 0.14423905313014984, -0.05921728536486626, 0.05749637633562088, -0.0910053625702858, -0.046849507838487625, -0.1776740401983261, -0.016697855666279793, 0.08150740712881088, -0.00132858008146286, 0.1414298117160797, 0.22951149940490723, 0.030437542125582695, 0.040771789848804474, 0.05001772940158844, 0.06380053609609604, 0.07760951668024063, -0.037717871367931366, 0.08302702754735947, 0.471272736787796], [-0.10404451936483383, 0.12164966017007828, 0.14041714370250702, -0.15921996533870697, -0.07499050348997116, -0.0027011495549231768, -0.019436271861195564, -0.005061081610620022, 0.06142687797546387, 0.15612752735614777, -0.10417808592319489, -0.12218627333641052, -0.03663024306297302, 0.3267210125923157, 0.2115791290998459, -0.30966538190841675, -0.14909562468528748, -0.008244151249527931, -0.03301980718970299, -0.25343456864356995, 0.16045090556144714, -0.0838741585612297, -0.15920016169548035, -0.5945395827293396], [0.30059242248535156, -0.23064859211444855, -0.09344708174467087, 0.11350148916244507, -0.10425879061222076, 0.152229443192482, -0.16149397194385529, 0.16015657782554626, 0.12517212331295013, -0.28042885661125183, -0.014296925626695156, -0.1392982453107834, 0.011105988174676895, 0.12460288405418396, -0.1950683742761612, -0.12846851348876953, -0.07601896673440933, -0.11259067803621292, -0.12180811911821365, 0.042816631495952606, 0.06188134104013443, 0.16454148292541504, -0.017160894349217415, -0.8255133032798767], [0.08206119388341904, -0.18478050827980042, 0.17380312085151672, 0.2725890576839447, 0.15051379799842834, -0.341235876083374, -0.0645466148853302, -0.44232800602912903, -0.11418064683675766, 0.1619691103696823, 0.21383239328861237, 0.09260708838701248, 0.46116068959236145, -0.08500955998897552, 0.22361209988594055, 0.1187390685081482, -0.19782660901546478, -0.10388310253620148, 0.18494966626167297, -0.2751542627811432, -0.34587255120277405, -0.11770425736904144, 0.4049307703971863, -0.2920905351638794], [0.15256352722644806, 0.02046426571905613, -0.16842733323574066, 0.09015429019927979, 0.034412600100040436, -0.023331008851528168, 0.4690050482749939, -0.12795834243297577, 0.0657886490225792, -0.2622382640838623, -0.10857575386762619, -0.09001380205154419, -0.08163363486528397, 0.19619989395141602, -0.16511355340480804, -0.1475110650062561, 0.17025388777256012, -0.25665146112442017, 0.13037551939487457, -0.05267685651779175, 0.41199350357055664, 0.022695669904351234, 0.2323206216096878, -0.6227976083755493], [0.041523825377225876, 0.08360910415649414, -0.20403006672859192, -0.0075170318596065044, -0.1046181470155716, 0.044065482914447784, 0.09640206396579742, -0.33676761388778687, 0.31144848465919495, 0.3318237066268921, -0.23798884451389313, -0.010184467770159245, -0.11342699080705643, -0.011430298909544945, 0.03584395349025726, 0.20987501740455627, 0.3146795928478241, 0.35095450282096863, 0.16802538931369781, -0.05616319924592972, -0.05244521424174309, -0.0405290313065052, -0.05295797809958458, -0.8931431174278259], [-0.07044264674186707, -0.29577919840812683, -0.16953857243061066, -0.11851396411657333, -0.23116938769817352, -0.3319161832332611, -0.04898131638765335, 0.2826365530490875, 0.16458988189697266, 0.08003406971693039, 0.2753395438194275, -0.16396315395832062, -0.23124690353870392, 0.1693439930677414, 0.02143935114145279, -0.19975265860557556, 0.16566041111946106, 0.25456759333610535, 0.39765679836273193, 0.12412390112876892, -0.11654653400182724, 0.10306416451931, -0.17615489661693573, -0.22699445486068726], [0.12506255507469177, 0.005373758729547262, -0.047622475773096085, -0.09264111518859863, 0.23859508335590363, 0.26227307319641113, -0.057951051741838455, -0.07593562453985214, -0.25020983815193176, -0.0810043141245842, -0.10570172220468521, -0.20223359763622284, 0.08770298957824707, 0.1490279585123062, 0.12571026384830475, 0.18482977151870728, 0.017191682010889053, 0.05419225990772247, -0.07211095094680786, 0.23685000836849213, 0.07958138734102249, 0.18010488152503967, 0.11237198114395142, 0.1380816400051117], [0.07244471460580826, -0.021335795521736145, 0.14471977949142456, -0.026243845000863075, -0.23862411081790924, -0.19014273583889008, 0.09936513751745224, -0.3223448097705841, 0.08423492312431335, 0.1471768617630005, 0.1661175936460495, -0.0810094103217125, 0.25609615445137024, 0.4510059058666229, -0.05820972099900246, 0.17167343199253082, -0.22486837208271027, -0.04606524854898453, 0.15721288323402405, 0.17543663084506989, 0.017050258815288544, 0.05264408513903618, -0.38792625069618225, -0.5030524134635925], [-0.18975119292736053, 0.1900281459093094, -0.2540222704410553, 0.14026713371276855, 0.17160643637180328, -0.2514582872390747, 0.043838631361722946, -0.08642543107271194, 0.11928160488605499, 0.10270211845636368, 0.013484355062246323, 0.2701764702796936, -0.13774000108242035, 0.2806665599346161, -0.16830328106880188, 0.2713210880756378, 0.2752543091773987, -0.0495191253721714, 0.08107920736074448, -0.0014790274435654283, -0.0222779531031847, -0.27307334542274475, -0.3122963309288025, 0.14397217333316803], [-0.12621799111366272, -0.43806010484695435, 0.04990016296505928, 0.0609799362719059, -0.19130472838878632, 0.007774130441248417, 0.3004026412963867, -0.003248235210776329, 0.22890882194042206, 0.14720720052719116, 0.3404284417629242, 0.1542690247297287, -0.06183231621980667, 0.10544099658727646, 0.011692347936332226, -0.25269246101379395, -0.0022666845470666885, -0.017472755163908005, 0.33919376134872437, -0.3258209526538849, -0.2763449549674988, -0.5143688917160034, -0.5463577508926392, 0.35899558663368225], [0.08085685223340988, -0.19752062857151031, -0.0683378055691719, 0.013724503107368946, 0.07914287596940994, -0.15315604209899902, 0.4424513876438141, -0.09771223366260529, 0.29691362380981445, 0.05162063613533974, -0.2894369065761566, 0.2970339357852936, -0.15524812042713165, -0.08727890998125076, -0.12451329827308655, 0.4820324182510376, -0.00025557141634635627, 0.044650424271821976, 0.33994463086128235, 0.052165042608976364, -0.12122327834367752, 0.20598560571670532, 0.2845604121685028, 0.6436451077461243], [0.1479889452457428, -0.0689806416630745, -0.15308627486228943, 0.3532739281654358, 0.10080583393573761, 0.14810696244239807, -0.40161439776420593, -0.22139972448349, 0.2225731909275055, -0.12341172248125076, -0.22497044503688812, 0.02969973348081112, 0.048242151737213135, 0.3270895183086395, 0.25667572021484375, 0.08386696875095367, -0.36723923683166504, -0.3380042314529419, -0.4569588899612427, -0.11553925275802612, -0.043078675866127014, 0.37033239006996155, 0.12456600368022919, 0.20244896411895752], [-0.27175888419151306, -0.18317319452762604, 0.03837048262357712, 0.20496766269207, 0.22824303805828094, -0.09099000692367554, -0.009584678336977959, 0.2832123935222626, -0.07939886301755905, 0.12273401767015457, -0.055978771299123764, -0.10621640831232071, -0.0897487998008728, -0.35163670778274536, -0.10258401930332184, -0.18238747119903564, 0.09410368651151657, 0.34362784028053284, -0.13034962117671967, 0.09454993903636932, 0.12890517711639404, 0.18351739645004272, 0.1347750872373581, -0.7556291818618774], [-0.29299142956733704, -0.32971206307411194, -0.044205598533153534, 0.25150084495544434, -0.02978057973086834, 0.3278254270553589, 0.38298165798187256, 0.041458386927843094, 0.15023617446422577, 0.10253321379423141, -0.1452772468328476, -0.24192771315574646, 0.08490373194217682, 0.001223633880726993, 0.022227343171834946, 0.1270553469657898, -0.027924509719014168, 0.16394254565238953, -0.16124548017978668, 0.1163758784532547, -0.39963698387145996, -0.1110314354300499, 0.1521417200565338, 0.38714712858200073], [-0.01815994270145893, -0.03073059767484665, -0.26059460639953613, 0.18790970742702484, -0.0045519983395934105, 0.023289598524570465, -0.36455774307250977, 0.055513955652713776, -0.19073070585727692, 0.1927727609872818, 0.18055230379104614, -0.11894332617521286, 0.19164958596229553, -0.018169276416301727, -0.1570436656475067, 0.30925580859184265, -0.28407174348831177, -0.006135117262601852, -0.12274980545043945, -0.05008520931005478, -0.023300597444176674, 0.2435474544763565, -0.07058177888393402, -0.05881471186876297], [-0.022230517119169235, -0.04272983595728874, 0.13755689561367035, -0.019284043461084366, 0.1400175839662552, -0.0954430103302002, 0.09884699434041977, 0.08777651935815811, -0.11889972537755966, 0.20463034510612488, -0.27407366037368774, 0.030142953619360924, 0.21335797011852264, -0.0828460082411766, 0.19316703081130981, 0.356136292219162, -0.06417010724544525, 0.03664122894406319, -0.10219194740056992, 0.264041930437088, 0.39186421036720276, -0.10513991862535477, -0.03757285326719284, -0.4127486050128937], [0.1329459846019745, -0.01051271427422762, -0.06154990941286087, 0.03924933075904846, 0.07376456260681152, -0.09900455921888351, 0.20143981277942657, -0.15010042488574982, -0.1481260359287262, 0.08551231771707535, -0.06562915444374084, -0.026654217392206192, -0.10597285628318787, 0.024674175307154655, 0.07351972162723541, -0.050181273370981216, 0.08023107796907425, -0.03449215367436409, 0.18697305023670197, 0.05889177694916725, 0.12877193093299866, 0.12475814670324326, 0.3978739380836487, 0.48070743680000305], [-0.1256384700536728, 0.11121068894863129, 0.12577645480632782, -0.07406724989414215, -0.0768195390701294, -0.10061368346214294, -0.1475253850221634, 0.133203387260437, 0.08986306935548782, -0.11326415091753006, 0.23455986380577087, -0.034257322549819946, 0.052739646285772324, 0.05956992879509926, -0.07574443519115448, -0.24066554009914398, 0.062320444732904434, -0.125332772731781, 0.009382471442222595, -0.18536174297332764, 0.14583729207515717, -0.3597104549407959, -0.1941673457622528, 0.8148176074028015], [-0.2764151394367218, 0.338827908039093, -0.13760867714881897, -0.006013172212988138, 0.19957835972309113, -0.18804466724395752, -0.14297962188720703, -0.14174315333366394, 0.33394894003868103, -0.10496710240840912, 0.43700459599494934, -0.06426317244768143, -0.21264509856700897, 0.1488802433013916, -0.19194704294204712, -0.033504024147987366, 0.3232637643814087, -0.07574092596769333, 0.017449256032705307, -0.1548984944820404, 0.2601350247859955, -0.22706303000450134, 0.15050065517425537, -0.8007973432540894], [0.34006375074386597, -0.08627017587423325, 0.26594477891921997, -0.05736270546913147, -0.35640692710876465, 0.07594156265258789, -0.048237815499305725, 0.06954705715179443, 0.07774647325277328, 0.015016593039035797, -0.010446969419717789, 0.21608494222164154, -0.008045937865972519, 0.08037671446800232, -0.12471316009759903, 0.3393881916999817, 0.1949368715286255, -0.19566448032855988, -0.7223467230796814, -0.05276339873671532, -0.3984747529029846, -0.018674274906516075, 0.09867748618125916, 0.07043223828077316], [-0.14715446531772614, 0.30384454131126404, -0.20304910838603973, 0.05244675278663635, -0.3937097489833832, -0.357265830039978, 0.27390256524086, -0.18465794622898102, 0.05163690075278282, 0.17090609669685364, 0.05804331973195076, -0.29757604002952576, 0.08537770807743073, -0.4114212393760681, 0.0007456793100573123, -0.02695423737168312, 0.06445299088954926, -0.24569490551948547, -0.17077301442623138, 0.3321641683578491, -0.12935571372509003, 0.5088533759117126, 0.02212129719555378, 0.26617395877838135], [0.04302084818482399, -0.0964905172586441, -0.1578304022550583, 0.40797215700149536, 0.11950333416461945, 0.46765121817588806, 0.172189861536026, 0.15294529497623444, -0.4141857624053955, -0.06491630524396896, -0.2706049978733063, -0.04149984195828438, -0.3174840807914734, 0.07087478786706924, -0.3008490204811096, -0.21231721341609955, -0.20914959907531738, -0.028386222198605537, 0.04120698198676109, 0.10129999369382858, 0.007458280771970749, 0.08216974139213562, 0.12481503933668137, 0.3438257873058319]], "biases": [0.03234294429421425, 0.07653320580720901, 0.014668364077806473, -0.2569943964481354, 0.19218264520168304, 1.1536799669265747, 1.2523761987686157, -1.5012900829315186, -0.10315586626529694, -0.7561315894126892, 0.37466201186180115, -0.6394121646881104, 0.20052771270275116, -0.13120059669017792, -0.2300443947315216, -1.1733652353286743, 0.46051305532455444, 0.44435548782348633, -0.0832425057888031, 0.7448790073394775, 0.12306375801563263, 0.25098228454589844, -1.0288761854171753, -0.3092435598373413]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.39184868335723877, 0.31551823019981384, 0.07213448733091354, -0.18555209040641785, -0.04377027601003647, -0.1894320249557495, -0.14349226653575897, -0.02842477709054947, -0.07226822525262833, -0.02449900098145008, -0.026486942544579506, 0.03742220997810364, 0.13499072194099426, 0.08622901886701584, -0.05361388996243477, 0.04099997505545616, -0.08476859331130981, -0.07198827713727951, 0.36627861857414246, 0.4566124677658081, -0.06256379932165146, 0.029009966179728508, 0.053576432168483734, 0.06962762773036957], [-0.1658892035484314, -0.028405701741576195, -0.20600250363349915, -0.2600625157356262, -0.08418942987918854, -0.22812063992023468, -0.2198001742362976, -0.04610644653439522, 0.1932532787322998, 0.0264375489205122, 0.02552103064954281, 0.02987758442759514, 0.2644665539264679, 0.10799013078212738, -0.04453006386756897, 0.053322531282901764, -0.11245342344045639, -0.08928375691175461, 0.24648649990558624, 0.49021220207214355, -0.09457191079854965, -0.04618868604302406, 0.04585709050297737, 0.09687244147062302], [-0.26878008246421814, 0.31423261761665344, -0.002691164379939437, -0.24005137383937836, -0.09124798327684402, -0.23395369946956635, -0.253194659948349, -0.07085561752319336, -0.08324234187602997, -0.06295576691627502, 0.041177649050951004, 0.0751458927989006, 0.10458076745271683, 0.06598364561796188, -0.11648930609226227, 0.08986300975084305, -0.02891688048839569, -0.0050012581050395966, 0.34418851137161255, 0.38952672481536865, -0.14649806916713715, -0.0683588907122612, 0.027655018493533134, 0.1363155096769333], [-0.1575971394777298, 0.062173452228307724, -0.13247475028038025, -0.25321638584136963, -0.09984416514635086, -0.2581128478050232, -0.2924858629703522, -0.11784303188323975, 0.1186278909444809, -0.07345334440469742, 0.11298301070928574, 0.12458572536706924, 0.1750653237104416, 0.017121324315667152, -0.11559607088565826, 0.13405266404151917, 0.014701342210173607, -0.012213682755827904, 0.26778537034988403, 0.3244965672492981, -0.2351478636264801, -0.15757955610752106, 0.031148498877882957, 0.16655637323856354], [-0.2620391249656677, 0.07199136167764664, -0.03542739897966385, -0.19721220433712006, -0.02179647423326969, -0.20352640748023987, -0.38016554713249207, -0.14245955646038055, 0.30008476972579956, -0.14831943809986115, 0.0888611227273941, 0.2398262768983841, 0.34492170810699463, -0.10071536898612976, -0.27216076850891113, 0.08693163841962814, 0.0006796848028898239, -0.1081981509923935, -0.06963292509317398, 0.3028830289840698, -0.0836828351020813, -0.2437196522951126, 0.09531062841415405, 0.17375235259532928], [-0.39607012271881104, 0.10668874531984329, 0.016231408342719078, -0.016934681683778763, -0.012305806390941143, -0.17817090451717377, -0.44014421105384827, -0.17990663647651672, 0.05485557019710541, -0.11282757669687271, 0.10862629115581512, 0.31284448504447937, 0.1781061589717865, -0.24504169821739197, -0.3288586139678955, 0.22008070349693298, 0.1282104253768921, 0.03580126538872719, 0.20658671855926514, 0.13293017446994781, -0.1428224891424179, -0.22898326814174652, 0.07425368577241898, 0.12655174732208252], [-0.48662981390953064, 0.10060656070709229, 0.2703280448913574, -0.20046058297157288, -0.019354049116373062, -0.07537390291690826, -0.48518261313438416, -0.3021365702152252, 0.20071569085121155, -0.06426044553518295, 0.04133648797869682, 0.37947556376457214, 0.34491923451423645, -0.3043733835220337, -0.11373893916606903, 0.20403575897216797, 0.20650997757911682, -0.06742841005325317, -0.08045972138643265, 0.14822018146514893, -0.2841171324253082, -0.1977413147687912, 0.16983334720134735, 0.031004151329398155], [-0.060538940131664276, 0.023988330736756325, -0.40570068359375, -0.14334075152873993, -0.12457683682441711, -0.1642499417066574, -0.5391334891319275, -0.2680709958076477, 0.12206485122442245, 0.04981553927063942, 0.035358961671590805, 0.3524281084537506, 0.3297973573207855, -0.23481346666812897, -0.12466487288475037, 0.1862979233264923, 0.12750154733657837, 0.059348270297050476, -0.01182524487376213, 0.08111625909805298, -0.39746785163879395, -0.2425619214773178, 0.16453804075717926, -0.05272779241204262], [-0.31842049956321716, 0.09141608327627182, 0.005086902529001236, -0.1595967710018158, -0.14045065641403198, -0.06722874194383621, -0.5952654480934143, -0.2638574540615082, 0.18041802942752838, 0.00010287447366863489, 0.04058067128062248, 0.4441491961479187, 0.4105837345123291, -0.14980880916118622, -0.08707047253847122, 0.12766492366790771, 0.03964225575327873, 0.029011908918619156, -0.20338712632656097, 0.14683258533477783, -0.3250822126865387, -0.29647737741470337, 0.23201918601989746, -0.161259725689888], [-0.26134413480758667, 0.07842832803726196, -0.1740207076072693, -0.05425187945365906, -0.23114514350891113, -0.14955101907253265, -0.6597278714179993, -0.27870869636535645, 0.11901330947875977, 0.08973067253828049, 0.16595225036144257, 0.49101489782333374, 0.21841193735599518, -0.11920288950204849, -0.02622733823955059, 0.1603696346282959, 0.05362890288233757, 0.09782572835683823, 0.05796850472688675, 0.004858016036450863, -0.4185306131839752, -0.23931902647018433, 0.20603814721107483, -0.22586937248706818], [-0.4367310106754303, 0.37787100672721863, 0.02391580119729042, 0.04502606391906738, -0.20209307968616486, -0.13112163543701172, -0.6620414853096008, -0.260954886674881, -0.1549740582704544, -0.015421446412801743, 0.14403153955936432, 0.5245419144630432, 0.06881151348352432, -0.09203045070171356, -0.08984639495611191, 0.13896562159061432, -0.03765711560845375, 0.1725776344537735, 0.2016608864068985, -0.0597052238881588, -0.3136724829673767, -0.23797588050365448, 0.21880023181438446, -0.277188777923584], [-0.1855965107679367, -0.06993333995342255, -0.4466595947742462, 0.12124951183795929, -0.2586902379989624, -0.19595973193645477, -0.624020516872406, -0.22695672512054443, 0.237155482172966, 0.09261293709278107, 0.15709561109542847, 0.5135278701782227, 0.16616657376289368, -0.08363500982522964, -0.06290815025568008, 0.16566410660743713, -0.1376056969165802, 0.15305273234844208, 0.11947435140609741, 0.02741389535367489, -0.38929641246795654, -0.2643512785434723, 0.1810894012451172, -0.31560420989990234]], "biases": [0.05604815483093262, 0.11879222840070724, 0.12958836555480957, 0.22477662563323975, 0.22476589679718018, 0.3884010314941406, 0.3116265535354614, 0.4999186396598816, 0.3485630750656128, 0.5971464514732361, 0.5359724760055542, 0.5666713118553162]}}

# 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

from statistics import variance, mean

# training_vars = []
# correct_vars = []
# incorrect_vars = []

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

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

TRAINING_MEAN = 4.9959406249999985
TRAINING_VAR = 6.964563233695652

for d in data: 
    avg = sum(d[:24]) / 24
    var = variance(d[:24])

    if abs(TRAINING_MEAN - avg) < 16 and abs(TRAINING_VAR - var) < 40: 
        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)
    else:
        print("? " * 12)
#         incorrect = 0
#         correct = 0


#     var = variance(d[:24])
#     training_vars.append(var)

#     if (incorrect > 4):
#         incorrect_vars.append(var)
#     else:
#         correct_vars.append(var)
 
#     total_correct += correct
#     total_incorrect += incorrect


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

# print(mean(correct_vars))
# print(mean(incorrect_vars))
# print(mean(training_vars))
# 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.3 0.2 0.2 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.7 2.7 2.6 2.5 2.4 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
10.3 10.2 9.8 9.3 8.5 7.3 6.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.4 17.4 17.1 16.5 15.9 ...
Truncated

Test 5

Verdict: ACCEPTED

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

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

user output
-4.1 -4.1 -4.2 -4.1 -4.3 -4.3 ...
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.5 12.1 11.4 10.8 ...
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.7 -1.9 -2.1 -2.3 -2.6 ...
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.1 15.0 14.9 14.6 14.1 13.5 ...
Truncated