CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:MikaelM
Submission time:2023-11-10 21:46:47 +0200
Language:C++ (C++11)
Status:READY
Result:56
Feedback
groupverdictscore
#1ACCEPTED56.38
Test results
testverdicttimescore
#1ACCEPTED0.01 s7.38details
#2ACCEPTED0.01 s7.25details
#3ACCEPTED0.01 s7.13details
#4ACCEPTED0.01 s7.5details
#5ACCEPTED0.01 s7details
#6ACCEPTED0.01 s6.88details
#7ACCEPTED0.01 s6.5details
#8ACCEPTED0.01 s6.75details

Code

#include<bits/stdc++.h>
using namespace std;
using ll = long long;

int main(){
    ios_base::sync_with_stdio(0); cin.tie(0);

    map<float, float> m;
    
    m[-35.7] = -0.0601094;
    m[-34.6] = -0.0327868;
    m[-34.3] = -0.0027322;
    m[-34.2] = -0.0327869;
    m[-34] = 0.010929;
    m[-33.8] = 0.0554338;
    m[-33.7] = -0.032787;
    m[-33.6] = 0.010929;
    m[-33.5] = 0.00676015;
    m[-33.4] = -0.0580059;
    m[-33.1] = -0.196721;
    m[-33] = -0.0297029;
    m[-32.9] = 0.131147;
    m[-32.8] = -0.072072;
    m[-32.7] = -0.0606415;
    m[-32.6] = -0.00495042;
    m[-32.5] = -0.0246154;
    m[-32.4] = 0.0237648;
    m[-32.2] = 0.0269755;
    m[-32.1] = 0.163934;
    m[-32] = 0.0203249;
    m[-31.9] = 0.0468716;
    m[-31.8] = -0.0559799;
    m[-31.7] = -0.252252;
    m[-31.6] = -0.00343644;
    m[-31.5] = 0.0103093;
    m[-31.4] = -0.00102786;
    m[-31.3] = -0.00909361;
    m[-31.2] = 0.00343637;
    m[-31.1] = 0.131148;
    m[-31] = 0.126761;
    m[-30.9] = 0.0774648;
    m[-30.8] = -0.131895;
    m[-30.7] = -0.0398635;
    m[-30.6] = 0.0528931;
    m[-30.5] = 0.0604922;
    m[-30.4] = 0.0144383;
    m[-30.3] = -0.012658;
    m[-30.2] = -0.0337422;
    m[-30.1] = -0.00367648;
    m[-30] = 0.116402;
    m[-29.9] = -0.0247048;
    m[-29.8] = -0.0046769;
    m[-29.7] = -0.0557781;
    m[-29.6] = 0.197183;
    m[-29.5] = 0.0146365;
    m[-29.4] = 0.0342015;
    m[-29.3] = 0.0114279;
    m[-29.2] = -0.0553399;
    m[-29.1] = 0.0382846;
    m[-29] = 0.0397201;
    m[-28.9] = -0.0239326;
    m[-28.8] = 0.0662252;
    m[-28.7] = 0.0291179;
    m[-28.6] = 0.0160453;
    m[-28.5] = -0.0246672;
    m[-28.4] = 0.0107818;
    m[-28.3] = 0.0128575;
    m[-28.2] = 0.0201085;
    m[-28.1] = 0.00711337;
    m[-28] = -0.159088;
    m[-27.9] = 0.0237659;
    m[-27.8] = 0.0504051;
    m[-27.7] = 0.0307353;
    m[-27.6] = 0.00303059;
    m[-27.5] = -0.00179175;
    m[-27.4] = 0.056338;
    m[-27.3] = 0.0290019;
    m[-27.2] = 0.0090989;
    m[-27.1] = -0.0424397;
    m[-27] = -0.0640303;
    m[-26.9] = 0.0235841;
    m[-26.8] = -0.00803666;
    m[-26.7] = -0.00720549;
    m[-26.6] = 0.011815;
    m[-26.5] = -0.0860746;
    m[-26.4] = 0.0427591;
    m[-26.3] = -0.0176307;
    m[-26.2] = 0.00347342;
    m[-26.1] = 0.0480531;
    m[-26] = -0.0185637;
    m[-25.9] = 0.0101096;
    m[-25.8] = 0.0330248;
    m[-25.7] = -0.0349625;
    m[-25.6] = -0.0535883;
    m[-25.5] = 0.0209403;
    m[-25.4] = 0.0335749;
    m[-25.3] = 0.0566584;
    m[-25.2] = 0.0348536;
    m[-25.1] = -0.0596426;
    m[-25] = -0.0238104;
    m[-24.9] = -0.00516817;
    m[-24.8] = 0.0225215;
    m[-24.7] = -0.0203264;
    m[-24.6] = -0.052532;
    m[-24.5] = -0.0377103;
    m[-24.4] = 0.0366658;
    m[-24.3] = 0.000763027;
    m[-24.2] = 0.0540863;
    m[-24.1] = 0.00527634;
    m[-24] = 0.0218489;
    m[-23.9] = -0.0303422;
    m[-23.8] = -0.0245345;
    m[-23.7] = 0.0727476;
    m[-23.6] = 0.0419536;
    m[-23.5] = 0.0130085;
    m[-23.4] = -0.0420106;
    m[-23.3] = -0.00696486;
    m[-23.2] = -0.00944701;
    m[-23.1] = 0.0525142;
    m[-23] = 0.0674342;
    m[-22.9] = 0.0501996;
    m[-22.8] = -0.00396181;
    m[-22.7] = 0.0436563;
    m[-22.6] = -0.0172669;
    m[-22.5] = 0.0217108;
    m[-22.4] = 0.0012347;
    m[-22.3] = -0.00038114;
    m[-22.2] = 0.0388041;
    m[-22.1] = 0.00223811;
    m[-22] = -0.034285;
    m[-21.9] = -0.00580573;
    m[-21.8] = 0.0162298;
    m[-21.7] = 0.00104734;
    m[-21.6] = 0.00989663;
    m[-21.5] = -0.00604241;
    m[-21.4] = 0.0232362;
    m[-21.3] = 0.0144792;
    m[-21.2] = 0.0139295;
    m[-21.1] = -0.00731057;
    m[-21] = -0.0294596;
    m[-20.9] = -0.00231919;
    m[-20.8] = 0.0124327;
    m[-20.7] = 0.0551979;
    m[-20.6] = 0.0150009;
    m[-20.5] = 0.014521;
    m[-20.4] = -0.00941406;
    m[-20.3] = 0.0277452;
    m[-20.2] = 0.0303909;
    m[-20.1] = 0.00911062;
    m[-20] = 0.0492796;
    m[-19.9] = -0.00103638;
    m[-19.8] = 0.0318696;
    m[-19.7] = 0.0169411;
    m[-19.6] = 0.0291006;
    m[-19.5] = 0.0342788;
    m[-19.4] = -0.0132441;
    m[-19.3] = -0.000174202;
    m[-19.2] = -0.0087126;
    m[-19.1] = 0.00336304;
    m[-19] = 0.0225991;
    m[-18.9] = 0.00527958;
    m[-18.8] = 0.0367434;
    m[-18.7] = 0.0192836;
    m[-18.6] = 0.00534336;
    m[-18.5] = 0.0230622;
    m[-18.4] = 0.0456126;
    m[-18.3] = 0.023406;
    m[-18.2] = 0.0115479;
    m[-18.1] = -0.0669048;
    m[-18] = 0.014028;
    m[-17.9] = 0.0392241;
    m[-17.8] = 0.0449618;
    m[-17.7] = -0.00204724;
    m[-17.6] = 0.0208022;
    m[-17.5] = -0.000528845;
    m[-17.4] = 0.0357659;
    m[-17.3] = 0.0513847;
    m[-17.2] = -0.00670848;
    m[-17.1] = 0.0173031;
    m[-17] = 0.0411004;
    m[-16.9] = 0.011757;
    m[-16.8] = 0.00777842;
    m[-16.7] = 0.00978946;
    m[-16.6] = 0.0227596;
    m[-16.5] = 0.033818;
    m[-16.4] = 0.0261153;
    m[-16.3] = 0.0182665;
    m[-16.2] = -0.0198986;
    m[-16.1] = 0.0278298;
    m[-16] = 0.0389855;
    m[-15.9] = 0.00959839;
    m[-15.8] = -0.00765661;
    m[-15.7] = 0.0154829;
    m[-15.6] = 0.0152397;
    m[-15.5] = -0.0231532;
    m[-15.4] = 0.0308633;
    m[-15.3] = 0.0136716;
    m[-15.2] = 0.0296419;
    m[-15.1] = 0.0507296;
    m[-15] = 0.0147405;
    m[-14.9] = -0.0121832;
    m[-14.8] = 0.0363662;
    m[-14.7] = 0.00945726;
    m[-14.6] = -0.0137443;
    m[-14.5] = 0.0382409;
    m[-14.4] = 0.0232566;
    m[-14.3] = 0.0319517;
    m[-14.2] = -0.0147808;
    m[-14.1] = 0.0016868;
    m[-14] = -0.0122686;
    m[-13.9] = 0.00963426;
    m[-13.8] = 0.033919;
    m[-13.7] = 0.0163938;
    m[-13.6] = 0.0110066;
    m[-13.5] = -0.00876702;
    m[-13.4] = 0.0233124;
    m[-13.3] = 0.00878857;
    m[-13.2] = 0.0165386;
    m[-13.1] = -0.0153418;
    m[-13] = 0.0117716;
    m[-12.9] = 0.024551;
    m[-12.8] = -0.0122462;
    m[-12.7] = 0.0233211;
    m[-12.6] = 0.0309592;
    m[-12.5] = 0.0315873;
    m[-12.4] = 0.0248718;
    m[-12.3] = 0.0142036;
    m[-12.2] = 0.00110316;
    m[-12.1] = 0.00718337;
    m[-12] = 0.00129065;
    m[-11.9] = 0.023181;
    m[-11.8] = -0.00173073;
    m[-11.7] = 0.0340549;
    m[-11.6] = -0.00297446;
    m[-11.5] = 0.0302859;
    m[-11.4] = 0.0374511;
    m[-11.3] = 0.0251836;
    m[-11.2] = 0.0379373;
    m[-11.1] = 0.0411486;
    m[-11] = 0.038107;
    m[-10.9] = 0.0123872;
    m[-10.8] = 0.0138613;
    m[-10.7] = 0.00952459;
    m[-10.6] = 0.0410557;
    m[-10.5] = 0.00228206;
    m[-10.4] = 0.0163573;
    m[-10.3] = -0.00189124;
    m[-10.2] = -0.000595902;
    m[-10.1] = 0.0015714;
    m[-10] = 0.0291596;
    m[-9.9] = 0.0267129;
    m[-9.8] = -0.00281135;
    m[-9.7] = 0.000153598;
    m[-9.6] = 0.0297189;
    m[-9.5] = 0.0273878;
    m[-9.4] = 0.0252851;
    m[-9.3] = 0.00341791;
    m[-9.2] = -0.00553366;
    m[-9.1] = 0.0108664;
    m[-9] = 0.00448771;
    m[-8.9] = 0.015901;
    m[-8.8] = 0.0328483;
    m[-8.7] = 0.00811962;
    m[-8.6] = 0.0251178;
    m[-8.5] = 0.0168259;
    m[-8.4] = 0.0185934;
    m[-8.3] = 0.0273149;
    m[-8.2] = 0.012406;
    m[-8.1] = 0.0144827;
    m[-8] = 0.0106846;
    m[-7.9] = 0.011202;
    m[-7.8] = 0.00018699;
    m[-7.7] = 0.0185283;
    m[-7.6] = -0.00991749;
    m[-7.5] = 0.0230211;
    m[-7.4] = 0.0173671;
    m[-7.3] = 0.0224653;
    m[-7.2] = 0.0157862;
    m[-7.1] = 0.0130325;
    m[-7] = 0.0286209;
    m[-6.9] = 0.0121392;
    m[-6.8] = 0.0256585;
    m[-6.7] = 0.0204474;
    m[-6.6] = 0.0194418;
    m[-6.5] = 0.0324416;
    m[-6.4] = 0.0202384;
    m[-6.3] = 0.00329936;
    m[-6.2] = 0.00543621;
    m[-6.1] = 0.00781864;
    m[-6] = 0.0186444;
    m[-5.9] = 0.0240534;
    m[-5.8] = 0.0187289;
    m[-5.7] = 0.00513776;
    m[-5.6] = 0.0105324;
    m[-5.5] = 0.013103;
    m[-5.4] = 0.0241403;
    m[-5.3] = 0.0067808;
    m[-5.2] = 0.00453717;
    m[-5.1] = 0.0202154;
    m[-5] = 0.0207813;
    m[-4.9] = 0.0094661;
    m[-4.8] = 0.0100286;
    m[-4.7] = 0.0159625;
    m[-4.6] = 0.0173496;
    m[-4.5] = 0.0238109;
    m[-4.4] = 0.00860176;
    m[-4.3] = 0.0177928;
    m[-4.2] = 0.0133768;
    m[-4.1] = 0.0146035;
    m[-4] = 0.0120917;
    m[-3.9] = 0.020907;
    m[-3.8] = 0.0240927;
    m[-3.7] = 0.0176295;
    m[-3.6] = 0.0175426;
    m[-3.5] = 0.0205255;
    m[-3.4] = 0.00904506;
    m[-3.3] = 0.0213841;
    m[-3.2] = 0.0163241;
    m[-3.1] = 0.0194247;
    m[-3] = 0.0131358;
    m[-2.9] = 0.00612115;
    m[-2.8] = 0.0154914;
    m[-2.7] = 0.00781105;
    m[-2.6] = 0.0122238;
    m[-2.5] = 0.0159075;
    m[-2.4] = 0.0077049;
    m[-2.3] = 0.0146543;
    m[-2.2] = 0.0092752;
    m[-2.1] = 0.0148405;
    m[-2] = 0.0116017;
    m[-1.9] = 0.0148914;
    m[-1.8] = 0.0092451;
    m[-1.7] = 0.00982257;
    m[-1.6] = 0.00940255;
    m[-1.5] = 0.00899886;
    m[-1.4] = 0.00291895;
    m[-1.3] = 0.0148413;
    m[-1.2] = 0.0143069;
    m[-1.1] = 0.0224247;
    m[-1] = 0.0150955;
    m[-0.9] = 0.00515715;
    m[-0.8] = 0.0154779;
    m[-0.7] = 0.0200328;
    m[-0.6] = 0.0166918;
    m[-0.5] = 0.0070836;
    m[-0.4] = 0.022611;
    m[-0.3] = 0.0143023;
    m[-0.2] = 0.0157326;
    m[-0.1] = 0.0114256;
    m[0] = 0.0163043;
    m[0.1] = 0.0216802;
    m[0.2] = 0.0111287;
    m[0.3] = 0.0143632;
    m[0.4] = 0.0140323;
    m[0.5] = 0.0194561;
    m[0.6] = 0.0199991;
    m[0.7] = 0.0131283;
    m[0.8] = 0.0140009;
    m[0.9] = 0.0197753;
    m[1] = 0.0135914;
    m[1.1] = 0.0290422;
    m[1.2] = 0.0259634;
    m[1.3] = 0.0284636;
    m[1.4] = 0.0208683;
    m[1.5] = 0.0215032;
    m[1.6] = 0.0234354;
    m[1.7] = 0.0216039;
    m[1.8] = 0.0206754;
    m[1.9] = 0.0312041;
    m[2] = 0.0232105;
    m[2.1] = 0.021501;
    m[2.2] = 0.0200677;
    m[2.3] = 0.0305188;
    m[2.4] = 0.0188002;
    m[2.5] = 0.0311524;
    m[2.6] = 0.036243;
    m[2.7] = 0.0173676;
    m[2.8] = 0.0213879;
    m[2.9] = 0.0237888;
    m[3] = 0.0382256;
    m[3.1] = 0.0192318;
    m[3.2] = 0.0268513;
    m[3.3] = 0.0265799;
    m[3.4] = 0.0200163;
    m[3.5] = 0.0236965;
    m[3.6] = 0.0276704;
    m[3.7] = 0.01849;
    m[3.8] = 0.0262933;
    m[3.9] = 0.0312857;
    m[4] = 0.0285776;
    m[4.1] = 0.0329573;
    m[4.2] = 0.0305702;
    m[4.3] = 0.0297018;
    m[4.4] = 0.0410159;
    m[4.5] = 0.032978;
    m[4.6] = 0.0255325;
    m[4.7] = 0.0385158;
    m[4.8] = 0.036299;
    m[4.9] = 0.0360667;
    m[5] = 0.0388102;
    m[5.1] = 0.0295459;
    m[5.2] = 0.0381127;
    m[5.3] = 0.0415249;
    m[5.4] = 0.022401;
    m[5.5] = 0.0416301;
    m[5.6] = 0.0147795;
    m[5.7] = 0.0467106;
    m[5.8] = 0.0339903;
    m[5.9] = 0.0318246;
    m[6] = 0.0322898;
    m[6.1] = 0.0350826;
    m[6.2] = 0.0330221;
    m[6.3] = 0.045109;
    m[6.4] = 0.0331343;
    m[6.5] = 0.0255218;
    m[6.6] = 0.0414575;
    m[6.7] = 0.0318108;
    m[6.8] = 0.0357614;
    m[6.9] = 0.0445137;
    m[7] = 0.0286994;
    m[7.1] = 0.0520226;
    m[7.2] = 0.0441942;
    m[7.3] = 0.0381739;
    m[7.4] = 0.0367022;
    m[7.5] = 0.0315754;
    m[7.6] = 0.0456295;
    m[7.7] = 0.0380756;
    m[7.8] = 0.0330885;
    m[7.9] = 0.0469583;
    m[8] = 0.0281817;
    m[8.1] = 0.0496293;
    m[8.2] = 0.0354371;
    m[8.3] = 0.0302357;
    m[8.4] = 0.0405465;
    m[8.5] = 0.0312767;
    m[8.6] = 0.0323832;
    m[8.7] = 0.03007;
    m[8.8] = 0.0302031;
    m[8.9] = 0.034965;
    m[9] = 0.041894;
    m[9.1] = 0.033215;
    m[9.2] = 0.0359779;
    m[9.3] = 0.0466318;
    m[9.4] = 0.0400662;
    m[9.5] = 0.0460726;
    m[9.6] = 0.0403811;
    m[9.7] = 0.0507672;
    m[9.8] = 0.0334399;
    m[9.9] = 0.0401164;
    m[10] = 0.0340573;
    m[10.1] = 0.0467592;
    m[10.2] = 0.0446484;
    m[10.3] = 0.0347497;
    m[10.4] = 0.0505275;
    m[10.5] = 0.0503374;
    m[10.6] = 0.0422636;
    m[10.7] = 0.0437358;
    m[10.8] = 0.0443102;
    m[10.9] = 0.043123;
    m[11] = 0.0517111;
    m[11.1] = 0.0410828;
    m[11.2] = 0.0398027;
    m[11.3] = 0.0436536;
    m[11.4] = 0.0479818;
    m[11.5] = 0.0584213;
    m[11.6] = 0.0469327;
    m[11.7] = 0.0488328;
    m[11.8] = 0.0386946;
    m[11.9] = 0.0457042;
    m[12] = 0.0408826;
    m[12.1] = 0.0467029;
    m[12.2] = 0.050806;
    m[12.3] = 0.0395153;
    m[12.4] = 0.0423746;
    m[12.5] = 0.0403564;
    m[12.6] = 0.048465;
    m[12.7] = 0.0350445;
    m[12.8] = 0.0457965;
    m[12.9] = 0.0395577;
    m[13] = 0.0393995;
    m[13.1] = 0.0477788;
    m[13.2] = 0.0326411;
    m[13.3] = 0.0412285;
    m[13.4] = 0.0440517;
    m[13.5] = 0.0461667;
    m[13.6] = 0.0366243;
    m[13.7] = 0.040918;
    m[13.8] = 0.0429076;
    m[13.9] = 0.0476947;
    m[14] = 0.0352663;
    m[14.1] = 0.0527658;
    m[14.2] = 0.0355325;
    m[14.3] = 0.0355212;
    m[14.4] = 0.0498474;
    m[14.5] = 0.0460737;
    m[14.6] = 0.0478598;
    m[14.7] = 0.0494027;
    m[14.8] = 0.0315567;
    m[14.9] = 0.0576613;
    m[15] = 0.0433692;
    m[15.1] = 0.0515159;
    m[15.2] = 0.0509963;
    m[15.3] = 0.0437319;
    m[15.4] = 0.0559261;
    m[15.5] = 0.0616302;
    m[15.6] = 0.0373061;
    m[15.7] = 0.0459676;
    m[15.8] = 0.0427964;
    m[15.9] = 0.0437719;
    m[16] = 0.0472174;
    m[16.1] = 0.046284;
    m[16.2] = 0.0564424;
    m[16.3] = 0.050342;
    m[16.4] = 0.0498517;
    m[16.5] = 0.0526989;
    m[16.6] = 0.0507448;
    m[16.7] = 0.0584521;
    m[16.8] = 0.0428371;
    m[16.9] = 0.0499566;
    m[17] = 0.0545318;
    m[17.1] = 0.0539499;
    m[17.2] = 0.0571585;
    m[17.3] = 0.0725072;
    m[17.4] = 0.0627987;
    m[17.5] = 0.06532;
    m[17.6] = 0.0557077;
    m[17.7] = 0.0656475;
    m[17.8] = 0.0671967;
    m[17.9] = 0.0669781;
    m[18] = 0.0586054;
    m[18.1] = 0.0547654;
    m[18.2] = 0.0512492;
    m[18.3] = 0.0595988;
    m[18.4] = 0.0493685;
    m[18.5] = 0.0692775;
    m[18.6] = 0.0642564;
    m[18.7] = 0.0697931;
    m[18.8] = 0.0694572;
    m[18.9] = 0.0610566;
    m[19] = 0.0689301;
    m[19.1] = 0.0578044;
    m[19.2] = 0.0641409;
    m[19.3] = 0.0578929;
    m[19.4] = 0.0650857;
    m[19.5] = 0.0558855;
    m[19.6] = 0.0572919;
    m[19.7] = 0.0646447;
    m[19.8] = 0.0762352;
    m[19.9] = 0.0503709;
    m[20] = 0.0733761;
    m[20.1] = 0.0615326;
    m[20.2] = 0.0553628;
    m[20.3] = 0.0333545;
    m[20.4] = 0.0499602;
    m[20.5] = 0.0622614;
    m[20.6] = 0.0520071;
    m[20.7] = 0.0648846;
    m[20.8] = 0.0671309;
    m[20.9] = 0.0603556;
    m[21] = 0.0703773;
    m[21.1] = 0.0620966;
    m[21.2] = 0.05213;
    m[21.3] = 0.0541274;
    m[21.4] = 0.0548602;
    m[21.5] = 0.0610151;
    m[21.6] = 0.0655982;
    m[21.7] = 0.0514211;
    m[21.8] = 0.0619136;
    m[21.9] = 0.0798171;
    m[22] = 0.0493915;
    m[22.1] = 0.0585692;
    m[22.2] = 0.0525448;
    m[22.3] = 0.0733204;
    m[22.4] = 0.0546886;
    m[22.5] = 0.0617488;
    m[22.6] = 0.0618092;
    m[22.7] = 0.0473309;
    m[22.8] = 0.0676806;
    m[22.9] = 0.0528129;
    m[23] = 0.0653344;
    m[23.1] = 0.0740391;
    m[23.2] = 0.0538621;
    m[23.3] = 0.060281;
    m[23.4] = 0.0540411;
    m[23.5] = 0.0555805;
    m[23.6] = 0.0409087;
    m[23.7] = 0.0585142;
    m[23.8] = 0.0502702;
    m[23.9] = 0.0634646;
    m[24] = 0.0587527;
    m[24.1] = 0.0737166;
    m[24.2] = 0.0673217;
    m[24.3] = 0.0538869;
    m[24.4] = 0.0669267;
    m[24.5] = 0.0626295;
    m[24.6] = 0.0675293;
    m[24.7] = 0.0593906;
    m[24.8] = 0.0746269;
    m[24.9] = 0.0588473;
    m[25] = 0.0651948;
    m[25.1] = 0.0510147;
    m[25.2] = 0.0450829;
    m[25.3] = 0.0557215;
    m[25.4] = 0.0666904;
    m[25.5] = 0.0476166;
    m[25.6] = 0.0780707;
    m[25.7] = 0.0600891;
    m[25.8] = 0.0635921;
    m[25.9] = 0.0591811;
    m[26] = 0.043471;
    m[26.1] = 0.0424001;
    m[26.2] = 0.0547728;
    m[26.3] = 0.0507672;
    m[26.4] = 0.060499;
    m[26.5] = 0.13735;
    m[26.6] = 0.0892226;
    m[26.7] = 0.0590302;
    m[26.8] = 0.0319664;
    m[26.9] = 0.090546;
    m[27] = 0.0403651;
    m[27.1] = 0.0227967;
    m[27.2] = 0.0691089;
    m[27.3] = 0.0403757;
    m[27.4] = 0.100581;
    m[27.5] = 0.0620296;
    m[27.6] = 0.0346983;
    m[27.7] = 0.0225633;
    m[27.8] = 0.0373707;
    m[27.9] = 0.00626528;
    m[28] = 0.0787132;
    m[28.1] = 0.0706675;
    m[28.2] = 0.0293968;
    m[28.3] = 0.0296956;
    m[28.4] = 0.0448252;
    m[28.5] = 0.0773205;
    m[28.6] = 0.0644819;
    m[28.7] = 0.0219585;
    m[28.8] = 0.168097;
    m[28.9] = 0.0598925;
    m[29] = 0.0308564;
    m[29.1] = 0.0528046;
    m[29.2] = 0.0652577;
    m[29.3] = 0.00741053;
    m[29.4] = 0.0935245;
    m[29.5] = 0.0347999;
    m[29.6] = 0.0416667;
    m[29.7] = 0.0367249;
    m[29.8] = -0.00196078;
    m[29.9] = 0.043805;
    m[30] = 0.0454045;
    m[30.1] = 0.0218083;
    m[30.2] = 0.00588238;
    m[30.3] = 0.0111535;
    m[30.4] = 0.0392845;
    m[30.5] = 0.00974851;
    m[30.6] = 0.30068;
    m[30.7] = 0.0366493;
    m[30.8] = 0.0515505;
    m[30.9] = 0.0472274;
    m[31] = 0.101133;
    m[31.1] = -0.0317461;
    m[31.2] = 0.0370371;
    m[31.3] = 0.0145502;
    m[31.4] = 0.0244479;
    m[31.5] = -0.0357119;
    m[31.6] = 0.00617286;
    m[31.7] = 0.0533677;
    m[32.2] = 0.027027;
    m[32.5] = -0.0108109;
    m[32.6] = 0.00540532;
    m[32.7] = 0.027027;
    m[33.1] = 0.0628272;


    int n;
    cin >> n;

    // int q = 7;

    int raja = 30;

    while(n--){

        float t[24], alin = 1e9, ylin = -1e9;

        for(int i = 0; i < 24; i++){
            cin >> t[i];
            alin = min(alin, t[i]);
            ylin = max(ylin, t[i]);
        }

        if(alin < -raja || ylin > raja){
            for(int i = 0; i < 12; i++) cout << "? ";
            cout << "\n";
            continue;
        }

        float vaihtelu = (ylin - alin);

        if(vaihtelu <= 0.75){
            for(int i = 0; i < 12; i++) cout << (ylin - alin)/2 << " ";
            cout << "\n";
            continue;
        }

        int q = vaihtelu - 1;

        float x = t[23];
        for(int i = 0; i < 12; i++){

            if(i < 12 - q){
                x -= m[round(x * 10) / 10] * vaihtelu;
                //x = round(x * 10) / 10;
                cout << round(x * 10) / 10 << " ";
            }
            else cout << "? ";

        }

        cout << "\n";

    }



    
}

Test details

Test 1

Verdict: ACCEPTED

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

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

user output
0.2 0.2 0.2 0.1 0.1 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.6 2.5 2.5 2.5 2.4 2.4 2.4 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.7 9.3 9 8.6 8.4 8.1 ? ? ? ? ...
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
16.6 16.1 15.7 15.2 ? ? ? ? ? ...
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.6 -4.6 -4.7 -4.8 -4.8 -4.8 ...
Truncated

Test 6

Verdict: ACCEPTED

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

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

user output
12.2 11.8 11.4 11 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.8 -1.9 -2 -2 -2.1 -2.1 -2.2...
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.6 14.4 14.2 14 13.8 13...
Truncated