Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
5296 | lizhengqian2008 | 超市卖电池 | C++ | Accepted | 100 | 0 MS | 252 KB | 161 | 2020-07-29 10:11:52 |
#include <bits/stdc++.h>; using namespace std; int main(){ double a; cin>>a; if(a>10) printf("%.1lf",a*2*0.9); else printf("%.1lf",a*2); return 0; }