Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
424 陶俊宸 超市卖电池 C++ Accepted 100 0 MS 252 KB 154 2019-09-19 20:20:27

Tests(1/1):


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


Judgement Protocol: