| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 492 | 陈思雨 | 超市卖电池 | C++ | Accepted | 100 | 0 MS | 252 KB | 155 | 2019-09-20 19:21:46 |
#include<iostream> int main(){ float a,b,c; scanf("%f",&a); b=a*2; c=b*0.9; if(a>10) printf("%.1f",c); else printf("%.1f",b); return 0; }