Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1339 高张蕾 超市卖电池 C++ Accepted 100 0 MS 256 KB 149 2019-10-07 09:00:02

Tests(1/1):


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


Judgement Protocol: