CSES - Datatähti 2024 alku - Results
Submission details
Task:Säähavainnot
Sender:MikaelM
Submission time:2023-11-12 10:45:38 +0200
Language:C++ (C++17)
Status:READY
Result:47
Feedback
groupverdictscore
#1ACCEPTED46.63
Test results
testverdicttimescore
#1ACCEPTED0.01 s6.13details
#2ACCEPTED0.01 s6.38details
#3ACCEPTED0.01 s5.88details
#4ACCEPTED0.01 s6.38details
#5ACCEPTED0.01 s5.38details
#6ACCEPTED0.01 s5.5details
#7ACCEPTED0.01 s5.5details
#8ACCEPTED0.01 s5.5details

Code

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

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

    unordered_map<double, double> m;
    
    m[-35.3] = -0.0140846;
    m[-35.2] = 0.00704215;
    m[-34.9] = 0.0105634;
    m[-34.8] = 0.00704242;
    m[-34.4] = 0.0281689;
    m[-34.3] = -0.0027322;
    m[-34.1] = -0.083682;
    m[-34] = 0.0281691;
    m[-33.9] = 0.00704215;
    m[-33.8] = 0.00704242;
    m[-33.6] = 0.0209205;
    m[-33.5] = 0.0183368;
    m[-33.4] = 0.00810827;
    m[-33.3] = -0.0845068;
    m[-33.1] = 0.00704242;
    m[-33] = -0.0435907;
    m[-32.9] = 0.0281686;
    m[-32.8] = -0.072072;
    m[-32.7] = -0.120904;
    m[-32.6] = 0.0274562;
    m[-32.4] = 0.0328252;
    m[-32.2] = 0.0398494;
    m[-32] = 0.0304108;
    m[-31.9] = 0.0158698;
    m[-31.8] = -0.0536166;
    m[-31.7] = -0.0132451;
    m[-31.6] = 0.00171819;
    m[-31.5] = 0.0103093;
    m[-31.4] = 0.00687288;
    m[-31.3] = -0.035865;
    m[-31.2] = 0.0142705;
    m[-31.1] = 0.0585434;
    m[-31] = 0.0419592;
    m[-30.9] = 0.0513907;
    m[-30.8] = 0.0378223;
    m[-30.7] = -0.0317757;
    m[-30.6] = 0.0388255;
    m[-30.5] = 0.0159519;
    m[-30.4] = 0.0352639;
    m[-30.3] = -0.00449078;
    m[-30.2] = 0.0105263;
    m[-30.1] = 0.00259049;
    m[-30] = -0.0289514;
    m[-29.9] = 0.0312606;
    m[-29.8] = 0.00168576;
    m[-29.7] = 0.0298412;
    m[-29.6] = 0.0501645;
    m[-29.5] = 0.0147358;
    m[-29.4] = 0.036113;
    m[-29.3] = 0.0247647;
    m[-29.2] = -0.0329914;
    m[-29.1] = 0.0382846;
    m[-29] = 0.0496889;
    m[-28.9] = 0.0417466;
    m[-28.8] = 0.0711132;
    m[-28.7] = 0.0644547;
    m[-28.6] = 0.0327183;
    m[-28.5] = -0.0409586;
    m[-28.4] = 0.0166429;
    m[-28.3] = 0.037657;
    m[-28.2] = 0.0350758;
    m[-28.1] = 0.0121752;
    m[-28] = -0.0977022;
    m[-27.9] = 0.023691;
    m[-27.8] = 0.0302655;
    m[-27.7] = 0.0348128;
    m[-27.6] = 0.0272348;
    m[-27.5] = 0.005783;
    m[-27.4] = 0.052307;
    m[-27.3] = 0.0381928;
    m[-27.2] = 0.00935068;
    m[-27.1] = 0.02335;
    m[-27] = 0.00297705;
    m[-26.9] = 0.0422748;
    m[-26.8] = -0.00823102;
    m[-26.7] = 0.0090489;
    m[-26.6] = 0.0155352;
    m[-26.5] = -0.0285278;
    m[-26.4] = 0.0394541;
    m[-26.3] = -0.0217401;
    m[-26.2] = 0.0127997;
    m[-26.1] = 0.00431262;
    m[-26] = -0.03159;
    m[-25.9] = 0.02852;
    m[-25.8] = 0.0400576;
    m[-25.7] = -0.0036674;
    m[-25.6] = 0.00666753;
    m[-25.5] = 0.0379641;
    m[-25.4] = 0.014779;
    m[-25.3] = 0.0476302;
    m[-25.2] = 0.00965347;
    m[-25.1] = 0.045967;
    m[-25] = 0.0129678;
    m[-24.9] = -0.00187584;
    m[-24.8] = 0.0421675;
    m[-24.7] = 0.0587969;
    m[-24.6] = 0.010324;
    m[-24.5] = -0.0137331;
    m[-24.4] = 0.0424662;
    m[-24.3] = 0.0245469;
    m[-24.2] = 0.0298855;
    m[-24.1] = 0.045586;
    m[-24] = 0.0522664;
    m[-23.9] = 0.0432225;
    m[-23.8] = -0.00241804;
    m[-23.7] = 0.0638632;
    m[-23.6] = 0.0560574;
    m[-23.5] = 0.0264836;
    m[-23.4] = -0.00702447;
    m[-23.3] = 0.010942;
    m[-23.2] = -0.0235937;
    m[-23.1] = 0.0262164;
    m[-23] = 0.0373275;
    m[-22.9] = 0.045202;
    m[-22.8] = 0.0461377;
    m[-22.7] = 0.0315467;
    m[-22.6] = 0.0399318;
    m[-22.5] = 0.0511284;
    m[-22.4] = -0.00497741;
    m[-22.3] = -0.0101761;
    m[-22.2] = 0.0282327;
    m[-22.1] = 0.00314393;
    m[-22] = -0.00281471;
    m[-21.9] = 0.0313208;
    m[-21.8] = 0.0243623;
    m[-21.7] = -0.0111413;
    m[-21.6] = 0.00337654;
    m[-21.5] = 0.00988362;
    m[-21.4] = 0.026522;
    m[-21.3] = 0.0294594;
    m[-21.2] = 0.019358;
    m[-21.1] = 0.00161851;
    m[-21] = -0.00198632;
    m[-20.9] = 0.0260246;
    m[-20.8] = 0.0193212;
    m[-20.7] = 0.0429269;
    m[-20.6] = 0.0255831;
    m[-20.5] = 0.0122762;
    m[-20.4] = -0.000848318;
    m[-20.3] = 0.0528239;
    m[-20.2] = 0.0367456;
    m[-20.1] = 0.0306368;
    m[-20] = 0.0561133;
    m[-19.9] = 0.0218553;
    m[-19.8] = 0.0400752;
    m[-19.7] = 0.0334802;
    m[-19.6] = 0.0419941;
    m[-19.5] = 0.0261306;
    m[-19.4] = -0.0113657;
    m[-19.3] = 0.0275921;
    m[-19.2] = 0.0155465;
    m[-19.1] = 0.0248174;
    m[-19] = 0.0294411;
    m[-18.9] = 0.0457995;
    m[-18.8] = 0.0499106;
    m[-18.7] = 0.0276209;
    m[-18.6] = 0.0246155;
    m[-18.5] = 0.0157417;
    m[-18.4] = 0.044681;
    m[-18.3] = 0.0218739;
    m[-18.2] = 0.0357997;
    m[-18.1] = 0.0171984;
    m[-18] = 0.0308338;
    m[-17.9] = 0.0415693;
    m[-17.8] = 0.0554379;
    m[-17.7] = 0.0450179;
    m[-17.6] = 0.0306981;
    m[-17.5] = 0.0037123;
    m[-17.4] = 0.0549307;
    m[-17.3] = 0.0718426;
    m[-17.2] = 0.0291822;
    m[-17.1] = 0.0466785;
    m[-17] = 0.0340935;
    m[-16.9] = 0.0464641;
    m[-16.8] = 0.0290124;
    m[-16.7] = 0.0213719;
    m[-16.6] = 0.0272081;
    m[-16.5] = 0.0274935;
    m[-16.4] = 0.0370498;
    m[-16.3] = 0.0473671;
    m[-16.2] = 0.00551726;
    m[-16.1] = 0.0297595;
    m[-16] = 0.0735875;
    m[-15.9] = 0.0194727;
    m[-15.8] = 0.0362374;
    m[-15.7] = 0.0302086;
    m[-15.6] = 0.0570699;
    m[-15.5] = 0.0340444;
    m[-15.4] = 0.0416744;
    m[-15.3] = 0.0354936;
    m[-15.2] = 0.0567977;
    m[-15.1] = 0.059;
    m[-15] = 0.0224633;
    m[-14.9] = 0.0341113;
    m[-14.8] = 0.0465027;
    m[-14.7] = 0.0286278;
    m[-14.6] = 0.023812;
    m[-14.5] = 0.0366979;
    m[-14.4] = 0.0353936;
    m[-14.3] = 0.028703;
    m[-14.2] = 0.0234631;
    m[-14.1] = 0.0211298;
    m[-14] = 0.027948;
    m[-13.9] = 0.0463392;
    m[-13.8] = 0.0391029;
    m[-13.7] = 0.0333345;
    m[-13.6] = 0.0345805;
    m[-13.5] = 0.0120291;
    m[-13.4] = 0.0510726;
    m[-13.3] = 0.0345971;
    m[-13.2] = 0.0574574;
    m[-13.1] = 0.0344702;
    m[-13] = 0.03348;
    m[-12.9] = 0.0545725;
    m[-12.8] = 0.0208309;
    m[-12.7] = 0.0499885;
    m[-12.6] = 0.0385316;
    m[-12.5] = 0.0452855;
    m[-12.4] = 0.0452605;
    m[-12.3] = 0.0436342;
    m[-12.2] = 0.0265533;
    m[-12.1] = 0.0344424;
    m[-12] = 0.0208234;
    m[-11.9] = 0.030717;
    m[-11.8] = 0.0153689;
    m[-11.7] = 0.0542356;
    m[-11.6] = 0.0110123;
    m[-11.5] = 0.0475845;
    m[-11.4] = 0.0594825;
    m[-11.3] = 0.0607481;
    m[-11.2] = 0.0605187;
    m[-11.1] = 0.0623412;
    m[-11] = 0.0642185;
    m[-10.9] = 0.0474451;
    m[-10.8] = 0.0396446;
    m[-10.7] = 0.0260638;
    m[-10.6] = 0.0569049;
    m[-10.5] = 0.0424305;
    m[-10.4] = 0.0385651;
    m[-10.3] = 0.0364757;
    m[-10.2] = 0.0263091;
    m[-10.1] = 0.044343;
    m[-10] = 0.0594234;
    m[-9.9] = 0.0306316;
    m[-9.8] = 0.02561;
    m[-9.7] = 0.0397928;
    m[-9.6] = 0.0425772;
    m[-9.5] = 0.0446719;
    m[-9.4] = 0.0331142;
    m[-9.3] = 0.0453438;
    m[-9.2] = 0.0309842;
    m[-9.1] = 0.0488251;
    m[-9] = 0.0342476;
    m[-8.9] = 0.0332874;
    m[-8.8] = 0.0493587;
    m[-8.7] = 0.0396726;
    m[-8.6] = 0.048398;
    m[-8.5] = 0.0353024;
    m[-8.4] = 0.0350165;
    m[-8.3] = 0.0315224;
    m[-8.2] = 0.0433496;
    m[-8.1] = 0.0430132;
    m[-8] = 0.0415948;
    m[-7.9] = 0.0272967;
    m[-7.8] = 0.0193946;
    m[-7.7] = 0.0544884;
    m[-7.6] = 0.0262505;
    m[-7.5] = 0.047336;
    m[-7.4] = 0.0320046;
    m[-7.3] = 0.0523533;
    m[-7.2] = 0.0408844;
    m[-7.1] = 0.0321101;
    m[-7] = 0.0366087;
    m[-6.9] = 0.029637;
    m[-6.8] = 0.04681;
    m[-6.7] = 0.0497112;
    m[-6.6] = 0.0410031;
    m[-6.5] = 0.0496329;
    m[-6.4] = 0.0399685;
    m[-6.3] = 0.0257379;
    m[-6.2] = 0.0335406;
    m[-6.1] = 0.0362648;
    m[-6] = 0.03797;
    m[-5.9] = 0.0418463;
    m[-5.8] = 0.0369154;
    m[-5.7] = 0.0378967;
    m[-5.6] = 0.031938;
    m[-5.5] = 0.0367207;
    m[-5.4] = 0.0373314;
    m[-5.3] = 0.0358559;
    m[-5.2] = 0.031115;
    m[-5.1] = 0.0412203;
    m[-5] = 0.0390003;
    m[-4.9] = 0.0252639;
    m[-4.8] = 0.0368769;
    m[-4.7] = 0.0431963;
    m[-4.6] = 0.0336313;
    m[-4.5] = 0.0395816;
    m[-4.4] = 0.0467013;
    m[-4.3] = 0.0399055;
    m[-4.2] = 0.0488776;
    m[-4.1] = 0.0470633;
    m[-4] = 0.0363822;
    m[-3.9] = 0.0398664;
    m[-3.8] = 0.0502628;
    m[-3.7] = 0.0349064;
    m[-3.6] = 0.032947;
    m[-3.5] = 0.0411709;
    m[-3.4] = 0.0382528;
    m[-3.3] = 0.0314169;
    m[-3.2] = 0.0357339;
    m[-3.1] = 0.0473018;
    m[-3] = 0.0268641;
    m[-2.9] = 0.0273803;
    m[-2.8] = 0.0301497;
    m[-2.7] = 0.0404668;
    m[-2.6] = 0.0381159;
    m[-2.5] = 0.0311113;
    m[-2.4] = 0.0303506;
    m[-2.3] = 0.0336653;
    m[-2.2] = 0.0272197;
    m[-2.1] = 0.0344639;
    m[-2] = 0.0365305;
    m[-1.9] = 0.037699;
    m[-1.8] = 0.0329564;
    m[-1.7] = 0.0397924;
    m[-1.6] = 0.0323335;
    m[-1.5] = 0.0332547;
    m[-1.4] = 0.0281654;
    m[-1.3] = 0.0431686;
    m[-1.2] = 0.0327476;
    m[-1.1] = 0.0432412;
    m[-1] = 0.0394108;
    m[-0.9] = 0.0335115;
    m[-0.8] = 0.0392395;
    m[-0.7] = 0.0357454;
    m[-0.6] = 0.0350557;
    m[-0.5] = 0.032921;
    m[-0.4] = 0.0378492;
    m[-0.3] = 0.032036;
    m[-0.2] = 0.0389886;
    m[-0.1] = 0.0352017;
    m[0] = 0.0326112;
    m[0.1] = 0.0355212;
    m[0.2] = 0.024985;
    m[0.3] = 0.0273578;
    m[0.4] = 0.0305969;
    m[0.5] = 0.0376273;
    m[0.6] = 0.0429553;
    m[0.7] = 0.0375382;
    m[0.8] = 0.0383882;
    m[0.9] = 0.0408073;
    m[1] = 0.0413989;
    m[1.1] = 0.0508817;
    m[1.2] = 0.0444194;
    m[1.3] = 0.0513409;
    m[1.4] = 0.0466847;
    m[1.5] = 0.0427815;
    m[1.6] = 0.0475065;
    m[1.7] = 0.046065;
    m[1.8] = 0.0401662;
    m[1.9] = 0.0493493;
    m[2] = 0.0437359;
    m[2.1] = 0.0448731;
    m[2.2] = 0.0514796;
    m[2.3] = 0.0481984;
    m[2.4] = 0.0477857;
    m[2.5] = 0.0438497;
    m[2.6] = 0.0568901;
    m[2.7] = 0.0375321;
    m[2.8] = 0.0444585;
    m[2.9] = 0.0504059;
    m[3] = 0.0608413;
    m[3.1] = 0.0411855;
    m[3.2] = 0.0522075;
    m[3.3] = 0.050361;
    m[3.4] = 0.0545153;
    m[3.5] = 0.0501773;
    m[3.6] = 0.0578294;
    m[3.7] = 0.0480172;
    m[3.8] = 0.0494346;
    m[3.9] = 0.0528197;
    m[4] = 0.0401632;
    m[4.1] = 0.0592354;
    m[4.2] = 0.0544941;
    m[4.3] = 0.0535738;
    m[4.4] = 0.0673486;
    m[4.5] = 0.0614152;
    m[4.6] = 0.0467483;
    m[4.7] = 0.0622201;
    m[4.8] = 0.0555665;
    m[4.9] = 0.0534028;
    m[5] = 0.0477284;
    m[5.1] = 0.0539436;
    m[5.2] = 0.0521557;
    m[5.3] = 0.0610564;
    m[5.4] = 0.0426865;
    m[5.5] = 0.0552803;
    m[5.6] = 0.0328099;
    m[5.7] = 0.0638491;
    m[5.8] = 0.0518898;
    m[5.9] = 0.0560592;
    m[6] = 0.0435733;
    m[6.1] = 0.0551192;
    m[6.2] = 0.0578322;
    m[6.3] = 0.0600928;
    m[6.4] = 0.0570712;
    m[6.5] = 0.0369783;
    m[6.6] = 0.0541598;
    m[6.7] = 0.0515592;
    m[6.8] = 0.048483;
    m[6.9] = 0.0613274;
    m[7] = 0.0494761;
    m[7.1] = 0.0598862;
    m[7.2] = 0.0583129;
    m[7.3] = 0.0543829;
    m[7.4] = 0.0497197;
    m[7.5] = 0.0499976;
    m[7.6] = 0.0594333;
    m[7.7] = 0.0541665;
    m[7.8] = 0.0531372;
    m[7.9] = 0.0651751;
    m[8] = 0.0483505;
    m[8.1] = 0.0590038;
    m[8.2] = 0.0536129;
    m[8.3] = 0.0515915;
    m[8.4] = 0.0551762;
    m[8.5] = 0.0437313;
    m[8.6] = 0.0435263;
    m[8.7] = 0.0441037;
    m[8.8] = 0.0348415;
    m[8.9] = 0.0420064;
    m[9] = 0.0502671;
    m[9.1] = 0.0377611;
    m[9.2] = 0.046178;
    m[9.3] = 0.0523482;
    m[9.4] = 0.0507638;
    m[9.5] = 0.0578713;
    m[9.6] = 0.0503825;
    m[9.7] = 0.0524382;
    m[9.8] = 0.0394771;
    m[9.9] = 0.0490565;
    m[10] = 0.0501928;
    m[10.1] = 0.0521814;
    m[10.2] = 0.0503775;
    m[10.3] = 0.0437298;
    m[10.4] = 0.0527954;
    m[10.5] = 0.06016;
    m[10.6] = 0.0487587;
    m[10.7] = 0.058665;
    m[10.8] = 0.0503465;
    m[10.9] = 0.051894;
    m[11] = 0.0580758;
    m[11.1] = 0.0469577;
    m[11.2] = 0.0499571;
    m[11.3] = 0.0499267;
    m[11.4] = 0.0521817;
    m[11.5] = 0.0587227;
    m[11.6] = 0.0591419;
    m[11.7] = 0.0594429;
    m[11.8] = 0.0573678;
    m[11.9] = 0.0568948;
    m[12] = 0.0515815;
    m[12.1] = 0.0524586;
    m[12.2] = 0.0612;
    m[12.3] = 0.0553837;
    m[12.4] = 0.0596611;
    m[12.5] = 0.047697;
    m[12.6] = 0.0629805;
    m[12.7] = 0.0476751;
    m[12.8] = 0.0501933;
    m[12.9] = 0.0527572;
    m[13] = 0.0552512;
    m[13.1] = 0.0586185;
    m[13.2] = 0.0474451;
    m[13.3] = 0.0588723;
    m[13.4] = 0.0495103;
    m[13.5] = 0.0576631;
    m[13.6] = 0.0481364;
    m[13.7] = 0.0550354;
    m[13.8] = 0.0600608;
    m[13.9] = 0.0587489;
    m[14] = 0.0519287;
    m[14.1] = 0.0611663;
    m[14.2] = 0.0510076;
    m[14.3] = 0.0532339;
    m[14.4] = 0.0617938;
    m[14.5] = 0.0645993;
    m[14.6] = 0.0625477;
    m[14.7] = 0.0629304;
    m[14.8] = 0.0500402;
    m[14.9] = 0.0637841;
    m[15] = 0.0622701;
    m[15.1] = 0.0633478;
    m[15.2] = 0.0653444;
    m[15.3] = 0.0522212;
    m[15.4] = 0.0712356;
    m[15.5] = 0.0717245;
    m[15.6] = 0.0585594;
    m[15.7] = 0.0575345;
    m[15.8] = 0.0704691;
    m[15.9] = 0.0629986;
    m[16] = 0.0711594;
    m[16.1] = 0.0729864;
    m[16.2] = 0.0777038;
    m[16.3] = 0.0727699;
    m[16.4] = 0.0654;
    m[16.5] = 0.068632;
    m[16.6] = 0.0710137;
    m[16.7] = 0.0671684;
    m[16.8] = 0.0694337;
    m[16.9] = 0.0695402;
    m[17] = 0.0820055;
    m[17.1] = 0.0671778;
    m[17.2] = 0.0799887;
    m[17.3] = 0.0894673;
    m[17.4] = 0.0813692;
    m[17.5] = 0.0845841;
    m[17.6] = 0.076031;
    m[17.7] = 0.0892575;
    m[17.8] = 0.0915429;
    m[17.9] = 0.0775264;
    m[18] = 0.0854874;
    m[18.1] = 0.0753506;
    m[18.2] = 0.072999;
    m[18.3] = 0.0802282;
    m[18.4] = 0.0734286;
    m[18.5] = 0.0819871;
    m[18.6] = 0.082929;
    m[18.7] = 0.0872214;
    m[18.8] = 0.0895388;
    m[18.9] = 0.0734984;
    m[19] = 0.0876113;
    m[19.1] = 0.0800362;
    m[19.2] = 0.0880803;
    m[19.3] = 0.0796122;
    m[19.4] = 0.0799856;
    m[19.5] = 0.0811591;
    m[19.6] = 0.0876262;
    m[19.7] = 0.0876467;
    m[19.8] = 0.0932194;
    m[19.9] = 0.0750925;
    m[20] = 0.081445;
    m[20.1] = 0.0943357;
    m[20.2] = 0.0812999;
    m[20.3] = 0.0696036;
    m[20.4] = 0.0902184;
    m[20.5] = 0.0869972;
    m[20.6] = 0.0735272;
    m[20.7] = 0.0978449;
    m[20.8] = 0.0890989;
    m[20.9] = 0.0947661;
    m[21] = 0.0844356;
    m[21.1] = 0.0936427;
    m[21.2] = 0.082583;
    m[21.3] = 0.0734988;
    m[21.4] = 0.0865536;
    m[21.5] = 0.0813851;
    m[21.6] = 0.0896998;
    m[21.7] = 0.074816;
    m[21.8] = 0.0849102;
    m[21.9] = 0.0979843;
    m[22] = 0.0841944;
    m[22.1] = 0.0895543;
    m[22.2] = 0.0880898;
    m[22.3] = 0.0979115;
    m[22.4] = 0.0777311;
    m[22.5] = 0.0723388;
    m[22.6] = 0.0759349;
    m[22.7] = 0.0731828;
    m[22.8] = 0.0876884;
    m[22.9] = 0.0849364;
    m[23] = 0.0954653;
    m[23.1] = 0.108812;
    m[23.2] = 0.0866772;
    m[23.3] = 0.0887352;
    m[23.4] = 0.0762987;
    m[23.5] = 0.0901081;
    m[23.6] = 0.070983;
    m[23.7] = 0.0844562;
    m[23.8] = 0.065133;
    m[23.9] = 0.0823526;
    m[24] = 0.073587;
    m[24.1] = 0.0942425;
    m[24.2] = 0.107521;
    m[24.3] = 0.0999052;
    m[24.4] = 0.0806502;
    m[24.5] = 0.0868995;
    m[24.6] = 0.093778;
    m[24.7] = 0.0868856;
    m[24.8] = 0.102812;
    m[24.9] = 0.0826411;
    m[25] = 0.119259;
    m[25.1] = 0.0785338;
    m[25.2] = 0.0651588;
    m[25.3] = 0.0886688;
    m[25.4] = 0.0833117;
    m[25.5] = 0.0605787;
    m[25.6] = 0.11261;
    m[25.7] = 0.106648;
    m[25.8] = 0.115048;
    m[25.9] = 0.0618388;
    m[26] = 0.0915046;
    m[26.1] = 0.0645414;
    m[26.2] = 0.0613226;
    m[26.3] = 0.0866186;
    m[26.4] = 0.0861928;
    m[26.5] = 0.162128;
    m[26.6] = 0.102062;
    m[26.7] = 0.0945543;
    m[26.8] = 0.0340991;
    m[26.9] = 0.107379;
    m[27] = 0.061946;
    m[27.1] = 0.0770463;
    m[27.2] = 0.0818451;
    m[27.3] = 0.0733913;
    m[27.4] = 0.132463;
    m[27.5] = 0.085864;
    m[27.6] = 0.0437594;
    m[27.7] = 0.0523276;
    m[27.8] = 0.0727916;
    m[27.9] = 0.0650819;
    m[28] = 0.0990676;
    m[28.1] = 0.0802773;
    m[28.2] = 0.0689969;
    m[28.3] = 0.0580071;
    m[28.4] = 0.0690729;
    m[28.5] = 0.0871129;
    m[28.6] = 0.0779335;
    m[28.7] = 0.04947;
    m[28.8] = 0.0705013;
    m[28.9] = 0.0892107;
    m[29] = 0.0595993;
    m[29.1] = 0.0716134;
    m[29.2] = 0.0652577;
    m[29.3] = 0.055098;
    m[29.4] = 0.0935245;
    m[29.5] = 0.0476768;
    m[29.6] = 0.057151;
    m[29.7] = 0.0467444;
    m[29.8] = 0.0238095;
    m[29.9] = 0.0524391;
    m[30] = 0.0382691;
    m[30.1] = 0.0602116;
    m[30.3] = 0.0377864;
    m[30.4] = 0.0392845;
    m[30.5] = 0.0317461;
    m[30.7] = 0.0366493;
    m[30.8] = 0.076923;
    m[30.9] = 0.074081;
    m[31] = 0.154321;
    m[31.2] = 0.0370371;
    m[31.3] = 0.0185185;
    m[31.4] = 0.0428447;
    m[31.5] = 0.0123457;
    m[31.6] = 0.00617286;
    m[31.7] = 0.0533677;
    m[32.2] = 0.027027;
    m[32.7] = 0.027027;
    m[33.1] = 0.125654;

    int n;
    cin >> n;

    while(n--){
 
        double 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]);
        }
 
        float vaihtelu = (ylin - alin);
 
        if(vaihtelu <= 0.5){
            for(int i = 0; i < 12; i++) cout << alin << " ";
            cout << "\n";
            continue;
        }

        int q = vaihtelu - 1;
        double x = t[23];

        for(int i = 0; i < 12; i++){
 
            if(i < 12 - q){
                x -= m[round(x * 10) / 10] * vaihtelu;
                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.1 0.1 0 0 -0 -0.1 -0.1 -...
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.5 2.5 2.5 2.4 2.4 2.3 2.3 2....
Truncated

Test 3

Verdict: ACCEPTED

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

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

user output
9.7 9.3 8.9 8.5 8.2 7.8 ? ? ? ...
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.4 15.8 15.1 14.4 ? ? ? ? ? ...
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.7 -4.9 -5 -5.1 -5.3 -5...
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 11.6 11.1 10.7 10.2 ? ? ?...
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
-2 -2.1 -2.3 -2.4 -2.6 -2.7 -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.7 14.4 14.1 13.8 13.5 13.2 ...
Truncated