| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 427 | 陶俊宸 | 征收税金 | C++ | Wrong Answer | 0 | 0 MS | 260 KB | 237 | 2019-09-19 20:27:43 |
#include<iostream> int main(){ int a; float b; scanf("%d",&a); if (a>=10000) { b=a*0.05; }else if (a>=5000&&a<10000) { b=a*0.03; }else if (a>=1000&&a<5000) { b=a*0.02; }else b=0; printf("%.1f",b); return 0; }