Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
777 未知用户 超市卖电池 C++ Accepted 100 0 MS 256 KB 154 2019-09-22 06:41:04

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: