Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
490 倪邢暄 征收税金 C++ 通过 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; }


测评信息: