Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1413 季洁 行李托运 C++ Accepted 100 0 MS 256 KB 222 2019-10-08 20:11:01

Tests(1/1):


#include<iostream> int main(){ float b,c,d,e,f,g; scanf("%f",&b); if(b<=10){ c=2.5*b; printf("%.1f",c); }else{ c=b-10; d=10*2.5; e=1.5+2.5; f=c*e; g=d+f; printf("%.1f",g); } return 0; }


Judgement Protocol: