| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1221 | 老师 | 征收税金 | C++ | Accepted | 100 | 0 MS | 252 KB | 213 | 2019-10-06 14:04:42 |
#include<iostream> int main(){ int a; double shui=0; scanf("%d",&a); if(a>=10000) shui=a*0.05; if(a<10000&&a>=5000) shui=a*0.03; if(a<5000&&a>=1000) shui=a*0.02; printf("%.2lf",shui); return 0; }