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

Code

layers={"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.08174703270196915, 0.0984257310628891, -0.1415807008743286, -0.1352837234735489, 0.08339714258909225, 0.024482764303684235, -0.03893138840794563, 0.09068558365106583, 0.009768257848918438, -0.24025823175907135, 0.053143665194511414, 0.09649801254272461, 0.003476279554888606, 0.21864527463912964, -0.09436853975057602, -0.1387997269630432, 0.023304587230086327, -0.07150599360466003, 0.2703070044517517, -0.011877687647938728, -0.04263553395867348, 0.13373953104019165, 0.05112863704562187, -1.183166742324829], [0.05944202467799187, 0.1783631294965744, -0.2537626326084137, -0.31278446316719055, 0.23839323222637177, -0.14738646149635315, 0.08162002265453339, -0.1352245807647705, 0.26615092158317566, 0.07243212312459946, -0.09696031361818314, -0.15817326307296753, 0.10371009260416031, -0.01886749640107155, 0.04678093269467354, -0.1292186677455902, -0.023941420018672943, 0.36468303203582764, 0.07204598933458328, 0.023858975619077682, 0.17700406908988953, 0.06693289428949356, 0.06254090368747711, -1.0694648027420044], [0.15852507948875427, 0.20593959093093872, -0.17511636018753052, -0.040330417454242706, -0.2382778376340866, 0.1661359965801239, 0.12585775554180145, -0.19507713615894318, 0.007000694051384926, -0.009813839569687843, -0.01427287608385086, -0.10304104536771774, 0.1277886927127838, 0.6403881907463074, -0.0017001768574118614, 0.29039251804351807, -0.13420119881629944, -0.3270636796951294, -0.5329751372337341, -0.253702849149704, -0.04458526149392128, 0.07669121026992798, 0.2680954933166504, -0.12490955740213394], [0.04913946986198425, 0.012074677273631096, -0.11623823642730713, -0.15171632170677185, 0.08624214679002762, -0.27558809518814087, 0.36462244391441345, 0.02799820899963379, 0.44196823239326477, -0.09774503111839294, -0.022858934476971626, -0.38654637336730957, 0.10914304852485657, -0.13455481827259064, 0.06513304263353348, 0.15849462151527405, 0.08786528557538986, 0.3230155408382416, 0.21887725591659546, -0.0980411022901535, -0.08979222178459167, 0.04638172686100006, 0.30412551760673523, -0.933302104473114], [0.011375500820577145, -0.23342518508434296, -0.09568623453378677, -0.15220271050930023, -0.34927353262901306, -0.24649809300899506, -0.04218828305602074, -0.23140881955623627, 0.29315829277038574, 0.4068392515182495, 0.13576342165470123, -0.4506679177284241, -0.030657844617962837, -0.5600602030754089, -0.2700607180595398, -0.03522995114326477, 0.2880668342113495, 0.1120784804224968, 0.004269791767001152, 0.05539371818304062, 0.2964212894439697, -0.045909006148576736, 0.17341290414333344, 0.49029824137687683], [0.27283501625061035, -0.14508530497550964, 0.15047545731067657, 0.09889742732048035, -0.3092796504497528, -0.030409859493374825, -0.0270935520529747, 0.08359479904174805, 0.09712857753038406, -0.1878330111503601, 0.21264038980007172, -0.058069538325071335, 0.16769687831401825, -0.14341174066066742, 0.04035604000091553, 0.2533229887485504, -0.12871204316616058, -0.12311296164989471, -0.30139675736427307, 0.0685751810669899, 0.22077476978302002, -0.21701456606388092, -0.04576246812939644, -0.748093843460083], [-0.34681645035743713, -0.011640644632279873, -0.3210892677307129, 0.08536769449710846, 0.024970607832074165, -0.25626125931739807, 0.07518583536148071, -0.2641381323337555, 0.20922665297985077, 0.16937772929668427, -0.1122746393084526, 0.3350032866001129, 0.2589387893676758, 0.35187849402427673, -0.12661392986774445, 0.13040916621685028, 0.3108319342136383, 0.09244050830602646, -0.0530063733458519, 0.18640100955963135, -0.1960752010345459, -0.1646885871887207, -0.11097970604896545, 0.1621052473783493], [-0.015975583344697952, -0.10311906784772873, -0.028900738805532455, 0.27177610993385315, 0.4182320535182953, -0.0801163986325264, -0.0604926161468029, -0.22330737113952637, 0.12761373817920685, 0.0058919223956763744, -0.28684377670288086, -0.07968656718730927, 0.048939503729343414, -0.2631605565547943, -0.2183532416820526, -0.17132188379764557, 0.11329644173383713, -0.10394275188446045, -0.3347321152687073, -0.1179611012339592, 0.14592769742012024, 0.22871224582195282, -0.12131855636835098, -0.9962681531906128], [-0.1144174113869667, -0.047679297626018524, -0.13122180104255676, -0.1857369840145111, 0.11632663011550903, 0.39679640531539917, 0.2770322263240814, 0.16822978854179382, 0.07231953740119934, 0.24019357562065125, 0.04888073727488518, -0.1989346444606781, 0.1435096114873886, -0.0320422537624836, -0.2811940014362335, 0.06279996037483215, 0.29744771122932434, -0.07024352252483368, -0.16482721269130707, -0.0891682505607605, 0.11799892038106918, 0.0048366631381213665, -0.03339076414704323, 0.1303596943616867], [-0.0785391628742218, -0.10780629515647888, 0.153020441532135, 0.15057948231697083, -0.28120240569114685, 0.27898073196411133, -0.12341056019067764, -0.056631900370121, 0.2100570648908615, -0.15761126577854156, 0.02626519277691841, -0.023434383794665337, 0.07122043520212173, 0.1061016097664833, -0.05619297921657562, -0.2125910371541977, 0.14041946828365326, -0.00603504991158843, -0.2530311346054077, -0.041652463376522064, -0.06440956890583038, 0.07140695303678513, 0.19383296370506287, 0.7316478490829468], [-0.2312636375427246, 0.12894834578037262, -0.04932241141796112, 0.23542508482933044, 0.25923052430152893, -0.14500343799591064, 0.3085665702819824, -0.08773355185985565, -0.24176113307476044, -0.10641945153474808, 0.07629931718111038, 0.15687806904315948, -0.3826408088207245, -0.21518145501613617, 0.27557572722435, 0.30373698472976685, -0.04443380609154701, 0.013720959424972534, 0.3861350417137146, 0.24575766921043396, -0.3462587594985962, 0.11511760205030441, -0.12731190025806427, 0.172646164894104], [-0.11734099686145782, -0.09415543079376221, -0.134321928024292, -0.05997950956225395, -0.0705883726477623, 0.27145445346832275, 0.29811495542526245, 0.3403762876987457, -0.07827706634998322, 0.33626070618629456, -0.12587414681911469, -0.11971042305231094, 0.07148480415344238, -0.3829152286052704, 0.05887814238667488, 0.10397089272737503, -0.07810748368501663, 0.0761544480919838, -0.10642638057470322, 0.18323437869548798, -0.05826100334525108, -0.18951085209846497, 0.005599533207714558, 0.22412388026714325], [0.15070368349552155, -0.14779672026634216, -0.18726792931556702, 0.1001664251089096, 0.09488064050674438, -0.017021380364894867, -0.08820118010044098, 0.1889243721961975, 0.2418796867132187, 0.2071193903684616, -0.13764281570911407, -0.18989914655685425, 0.00170172902289778, 0.1460908204317093, -0.09242174029350281, 0.02654862590134144, -0.029163407161831856, -0.11013859510421753, 0.11904839426279068, -0.219801664352417, 0.17945638298988342, 0.11862652003765106, -0.21205006539821625, 0.8175107836723328], [0.013422739692032337, 0.30875682830810547, 0.39299145340919495, 0.0400891937315464, -0.4196932911872864, 0.014697312377393246, -0.2540241777896881, 0.22009415924549103, 0.35138964653015137, -0.1323743462562561, 0.03426632285118103, 0.0024241749197244644, -0.21742986142635345, -0.03214205801486969, 0.34399548172950745, -0.172069251537323, -0.1026282086968422, 0.02901642583310604, -0.18913152813911438, -0.41065770387649536, -0.04603339359164238, -0.3976415991783142, -0.07553428411483765, -0.25879427790641785], [-0.03205663338303566, -0.09437040984630585, 0.015146373771131039, 0.008664384484291077, 0.25903674960136414, 0.17387472093105316, -0.16375330090522766, 0.06430055946111679, 0.2670694589614868, 0.14934538304805756, -0.11978426575660706, -0.016672348603606224, 0.08197543025016785, 0.12943074107170105, -0.19390089809894562, 0.09270608425140381, 0.13891100883483887, -0.07759483903646469, -0.2891034185886383, 0.0998755618929863, -0.069021075963974, 0.04099632427096367, 0.23869594931602478, -0.40235063433647156], [-0.018863443285226822, 0.04864184930920601, 0.07688210904598236, 0.08494044840335846, 0.2678988575935364, -0.14311234652996063, -0.09322676807641983, -0.18133392930030823, -0.12071646004915237, -0.08605556935071945, 0.2031647264957428, 0.15423205494880676, -0.20199888944625854, -0.11017224192619324, -0.21569512784481049, 0.22433489561080933, -0.11244773864746094, -0.15951621532440186, -0.11260585486888885, 0.09663501381874084, -0.09269801527261734, -0.09229698777198792, 0.2919659912586212, 0.8356239199638367], [-0.0755206048488617, -0.43606463074684143, 0.26898348331451416, -0.03532877936959267, 0.39601972699165344, -0.16030758619308472, 0.07827670872211456, -0.1548956036567688, 0.2155126929283142, 0.11981064826250076, 0.0555264987051487, -0.03334309160709381, -0.14828002452850342, -0.28221043944358826, -0.22849494218826294, 0.09360267221927643, 0.1177627220749855, 0.1394760012626648, -0.059179261326789856, 0.06997319310903549, -0.08261848241090775, 0.12672725319862366, 0.293727844953537, -0.6164407730102539], [-0.22499164938926697, 0.09441100805997849, 0.23047511279582977, 0.24219074845314026, -0.10876788198947906, 0.008509213104844093, -0.44034773111343384, -0.36738184094429016, -0.1541033238172531, 0.26315397024154663, 0.23319117724895477, 0.10012149065732956, 0.19647762179374695, 0.5027241706848145, 0.02707677148282528, 0.1623280644416809, 0.4311515688896179, -0.33593985438346863, -0.3227950632572174, 0.10964974761009216, -0.3966432809829712, -0.18380087614059448, 0.07372739166021347, -0.23757027089595795], [-0.09138312935829163, -0.008076992817223072, 0.0388728603720665, -0.08183146268129349, -0.06391160935163498, -0.019530372694134712, 0.07854963093996048, 0.23168963193893433, -0.0726289227604866, -0.10199541598558426, -0.217756450176239, 0.08947663009166718, 0.0017588116461411119, 0.12125550955533981, 0.19954490661621094, 0.09484180063009262, -0.03151866793632507, 0.3055150806903839, 0.2900070250034332, 0.11488767713308334, -0.1934695541858673, -0.05908650532364845, 0.18667635321617126, 0.7381407618522644], [-0.1893898844718933, -0.010068046860396862, -0.14750729501247406, -0.10940107703208923, 0.7927175164222717, 0.18030734360218048, -0.012538424693048, -0.07791008055210114, -0.06532306969165802, -0.1784810870885849, -0.3947509229183197, 0.13620837032794952, 0.3142187297344208, 0.019524268805980682, 0.008860666304826736, -0.4141756594181061, -0.2125944197177887, 0.24234338104724884, -0.30384641885757446, -0.04140841215848923, 0.17468221485614777, -0.18506771326065063, -0.04309946298599243, 0.21419890224933624], [-0.1617535501718521, -0.056294091045856476, -0.25425755977630615, -0.07098507136106491, -0.20162305235862732, 0.021335186436772346, -0.05509475991129875, -0.302328884601593, -0.06653223931789398, 0.5292237401008606, 0.37876537442207336, -0.18004310131072998, -0.23714016377925873, 0.10822130739688873, -0.3161139488220215, 0.034044936299324036, 0.3042466342449188, 0.46916794776916504, 0.08030422776937485, 0.06499938666820526, 0.2964964509010315, 0.20737849175930023, -0.2150992900133133, -0.597007691860199], [0.27654892206192017, 0.018235405907034874, -0.39565929770469666, 0.21518616378307343, 0.5121035575866699, -0.06125368922948837, 0.27350929379463196, -0.04323064535856247, -0.25733351707458496, 0.20395752787590027, 0.030853817239403725, -0.30478373169898987, -0.33589649200439453, -0.05776502192020416, -0.06499321758747101, -0.35648423433303833, -0.09621967375278473, 0.09373614937067032, 0.2740596532821655, 0.2034958004951477, 0.025227932259440422, -0.17564153671264648, -0.3228733539581299, 0.2802056670188904], [-0.1707271933555603, -0.12734727561473846, -0.16312278807163239, -0.08847744017839432, 0.10680895298719406, 0.11157916486263275, 0.3496423065662384, 0.40064817667007446, -0.3185168504714966, 0.10915525257587433, 0.34756699204444885, 0.03244905546307564, 0.14572782814502716, -0.039849989116191864, -0.1315862387418747, 0.23676598072052002, -0.24725578725337982, 0.2506423592567444, -0.06095540151000023, 0.040873292833566666, -0.46784189343452454, -0.25113657116889954, -0.5203241109848022, -0.009895413182675838], [0.007768772076815367, 0.13026785850524902, 0.17561015486717224, -0.39168938994407654, 0.08573216944932938, -0.31764960289001465, 0.07962284237146378, -0.062237974256277084, 0.09416254609823227, -0.11474856734275818, -0.049549248069524765, 0.04539034515619278, 0.155227929353714, 0.18418149650096893, 0.33909592032432556, 0.2632061243057251, 0.06007108837366104, 0.13368180394172668, 0.30400630831718445, 0.04789535701274872, 0.12611018121242523, -0.03731336072087288, -0.07904764264822006, 0.2452356368303299]], "biases": [0.01832427643239498, -0.1655457317829132, -0.1525271236896515, 0.9326109290122986, 0.33379700779914856, -0.0328848771750927, 1.2665681838989258, 0.13780400156974792, -0.3074565529823303, -0.16949927806854248, -0.5173829197883606, -0.48549219965934753, -0.20560181140899658, -0.29040956497192383, 0.16079828143119812, 0.384403258562088, -0.30099448561668396, 0.3064962923526764, -0.15562449395656586, -0.3833572268486023, -0.5615561604499817, -0.7099259495735168, -1.6130139827728271, 0.5692245960235596]}, "1": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.3086916208267212, -0.251558780670166, 0.008581884205341339, -0.11472515016794205, 0.03564665466547012, -0.12418458610773087, -0.0018680542707443237, -0.28046178817749023, 0.0649242177605629, 0.21324561536312103, -0.08928389847278595, 0.006616705097258091, 0.19777554273605347, 0.0562734454870224, -0.0790553018450737, 0.38093405961990356, 0.02553790993988514, -0.08317363262176514, 0.28665679693222046, 0.06638378649950027, -0.0476345531642437, 0.028734344989061356, -0.08277285844087601, 0.052523091435432434], [-0.30173760652542114, -0.3232623338699341, -0.024511348456144333, -0.17085997760295868, 0.03488698974251747, -0.13859444856643677, 0.013493236154317856, -0.26474088430404663, -0.012104388326406479, 0.2141280174255371, -0.006011592224240303, 0.042953457683324814, 0.2650805115699768, 0.061738111078739166, -0.02955535240471363, 0.356579065322876, 0.014988233335316181, -0.10040204972028732, 0.23952408134937286, 0.06466785818338394, -0.062379010021686554, 0.021256132051348686, -0.060300737619400024, 0.03554024547338486], [-0.3164893090724945, -0.3929333984851837, -0.0937681570649147, -0.19283990561962128, 0.04240967333316803, -0.06227733567357063, 0.028045402839779854, -0.26380109786987305, -0.03138004615902901, 0.19744440913200378, 0.06237855926156044, 0.08545989543199539, 0.2731077969074249, 0.01662072166800499, -0.0176394023001194, 0.3241606056690216, -0.02075343392789364, -0.11776230484247208, 0.2238902747631073, 0.10492178797721863, -0.07049398124217987, 0.020187916234135628, -0.029211243614554405, 0.03127795830368996], [-0.21333572268486023, -0.4548506438732147, -0.16008593142032623, -0.23397044837474823, 0.0698801651597023, -0.0858529582619667, 0.034770168364048004, -0.2563959062099457, -0.05656976252794266, 0.24838878214359283, 0.18608658015727997, 0.1559901088476181, 0.2597495913505554, -0.055567461997270584, -0.02147679217159748, 0.2328273355960846, -0.0747532844543457, -0.1418306827545166, 0.14348243176937103, 0.12116242200136185, -0.11554589122533798, 0.06606227904558182, 0.040635257959365845, 0.06709154695272446], [-0.17792394757270813, -0.2735483944416046, -0.2257463037967682, -0.35454899072647095, 0.09162276238203049, -0.14979521930217743, 0.040101394057273865, -0.2707260847091675, 0.2224908024072647, -0.07216212153434753, 0.0672992393374443, -0.07880944758653641, 0.18061478435993195, -0.09086709469556808, -0.046800971031188965, 0.25435179471969604, -0.17312854528427124, -0.1559630185365677, 0.4476184844970703, 0.13114827871322632, -0.20298688113689423, 0.06142750754952431, 0.14308525621891022, -0.10055572539567947], [-0.21518412232398987, -0.19194316864013672, -0.26998502016067505, -0.45554444193840027, 0.1382732391357422, -0.095679871737957, 0.026649177074432373, -0.26531341671943665, 0.24178887903690338, 0.1116144210100174, 0.12251433730125427, 0.07916935533285141, 0.005560677032917738, -0.16310957074165344, -0.06305187940597534, 0.08537956327199936, -0.16432879865169525, -0.1391564905643463, 0.39906153082847595, 0.06248457729816437, -0.311635285615921, 0.10061489790678024, 0.2234824150800705, -0.019210567697882652], [-0.340453177690506, 0.030079172924160957, -0.23824332654476166, -0.5758875012397766, 0.14976565539836884, -0.12363097816705704, 0.030892066657543182, -0.2417147308588028, 0.33751100301742554, -0.05633363127708435, 0.049614258110523224, 0.06985630095005035, -0.04135642945766449, -0.18476390838623047, -0.08540502935647964, 0.05751479044556618, -0.1220400333404541, -0.1584319770336151, 0.521729588508606, -0.03531566262245178, -0.43760591745376587, 0.05666248872876167, 0.32081133127212524, -0.054060764610767365], [-0.36658284068107605, -0.07671917974948883, -0.31390342116355896, -0.6531791687011719, 0.14281004667282104, -0.05286429449915886, 0.05451294407248497, -0.1517076939344406, 0.22112755477428436, 0.09967135637998581, 0.12121528387069702, 0.14047184586524963, 0.0456620417535305, -0.2523137629032135, -0.0450618714094162, -0.026120586320757866, -0.2486143261194229, -0.24689295887947083, 0.22599731385707855, -0.16596853733062744, -0.41798004508018494, -0.003930282313376665, 0.4117116630077362, 0.14382587373256683], [-0.31500136852264404, -0.10608146339654922, -0.2641160488128662, -0.718250036239624, 0.10965300351381302, -0.06252742558717728, 0.12052826583385468, -0.09345240145921707, 0.07336225360631943, -0.04124830290675163, 0.03953363373875618, 0.19857056438922882, 0.05321493372321129, -0.3555622696876526, 0.15912307798862457, 0.06844687461853027, -0.2595618963241577, -0.35207000374794006, 0.23628078401088715, -0.23824261128902435, -0.4357028603553772, -0.06797657907009125, 0.46531713008880615, 0.17573249340057373], [-0.0514463447034359, -0.37299367785453796, -0.3028853237628937, -0.7239184975624084, 0.13990511000156403, -0.009145057760179043, 0.18170206248760223, -0.18896834552288055, 0.18227046728134155, -0.1548403948545456, 0.10871735215187073, 0.0677923634648323, 0.10397277027368546, -0.326930969953537, 0.10572707653045654, 0.14493297040462494, -0.09938013553619385, -0.4215258061885834, 0.10611020773649216, -0.21618534624576569, -0.47619637846946716, -0.14541295170783997, 0.47834599018096924, 0.23516163229942322], [0.017616407945752144, -0.2593717873096466, -0.32199254631996155, -0.7465423345565796, 0.15022127330303192, -0.27385056018829346, 0.19895438849925995, -0.21953092515468597, 0.2422182559967041, -0.050519321113824844, 0.23640994727611542, -0.08530271798372269, 0.1919121891260147, -0.14168621599674225, 0.01344389095902443, 0.06950926780700684, -0.05353689193725586, -0.4413672089576721, -0.05971258506178856, -0.25256139039993286, -0.4818246364593506, -0.1847226470708847, 0.47456473112106323, 0.29109296202659607], [0.06948274374008179, -0.44697895646095276, -0.34698712825775146, -0.7458414435386658, 0.13336656987667084, -0.04527721554040909, 0.19608661532402039, -0.2665144205093384, 0.09922508150339127, 0.07265212386846542, 0.2030387967824936, 0.08781181275844574, 0.024388998746871948, -0.19974756240844727, 0.13046947121620178, 0.07984036952257156, 0.08118819445371628, -0.4654894173145294, -0.09882703423500061, -0.25770220160484314, -0.4392663836479187, -0.17074668407440186, 0.4673019051551819, 0.410306841135025]], "biases": [0.05295927822589874, 0.06392802298069, 0.039984505623579025, 0.09223958849906921, 0.1514345407485962, 0.22695860266685486, 0.3792772591114044, 0.3193136155605316, 0.152024507522583, 0.07507458329200745, 0.11154089868068695, -0.02392338216304779]}}

# 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())

training_sums = []
correct_sums = []
incorrect_sums = []

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

TRAINING_MEAN = 4.9959406249999985

for d in data: 
    # mean = sum(d[:24]) / 24

    # if abs(TRAINING_MEAN - mean) < 15: 
    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


    # training_sums.append(sum(d[:24]) / 24)
    # if (incorrect > 4):
    #     incorrect_sums.append(sum(d[:24]) / 24)
    # else:
    #     correct_sums.append(sum(d[:24]) / 24)
 
    # total_correct += correct
    # total_incorrect += incorrect


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

# print(sum(training_sums) / len(training_sums))
# print(sum(incorrect_sums) / len(incorrect_sums))
# print(sum(correct_sums) / len(correct_sums))
# 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.1 0.1 0.1 0.0 0.0 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.6 2.5 2.3 2.2 2.0 2.0 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.3 10.1 9.7 9.1 8.3 7.4 6.6 ...
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.3 17.0 16.3 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.2 -4.1 -4.2 -4.1 -4.4 -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
13.1 12.9 12.6 12.0 11.3 10.3 ...
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 -1.8 -2.1 -2.5 -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.3 15.1 14.9 14.5 13.9 13.3 ...
Truncated