Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1207 高张蕾 行李托运 C++ Accepted 100 0 MS 252 KB 171 2019-10-06 11:45:09

Tests(1/1):


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


Judgement Protocol: