| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5178 | zhengxitong | 超市卖电池 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 210 | 2020-07-27 21:30:12 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c,d; cin>>a; b=2; c=a*b; d=a*b*0.9; if(a<=10) printf("%1lf",c);if(a>10) printf("%.1lf",d); return 0; }