Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
490 倪邢暄 征收税金 C++ Accepted 100 0 MS 256 KB 236 2019-09-20 19:19:08

Tests(1/1):


#include<iostream> int main(){ int p; scanf("%d",&p); if(p>=10000) printf("%.2f",p*0.05); else if(p>=5000&&p<10000) printf("%.2f",p*0.03); else if(p>=1000&&p<5000) printf("%.2f",p*0.02); else printf("0.00"); return 0; }


Judgement Protocol: