| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5328 | 张佳杰 | 超市卖电池 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 168 | 2020-07-29 13:46:09 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; double b; cin>>a; if(a<10) b=a*2; if(a>10) b=a*2*0.9; printf("%.1lf",b); return 0; }