| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 340 | 孙灏洋 | 超市卖电池 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 176 | 2019-09-18 21:16:29 |
#include<iostream> int main(){ int a; double b; scanf("%d",&a); b=a*2; if(a>=10){ b=a*0.9; printf("%.1lf",b); }else{ printf("%.1lf",b); } return 0; }