Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
356758 admin_rjp 【C1-11】交税 C++ 通过 100 1 MS 244 KB 290 2025-10-18 16:07:41

Tests(3/3):


#include <iostream> using namespace std; int main(){ int x,s; cin>>x; if(x>=0&&x<10000){ s=0; } else if(x<=29999){ s=x*0.03; } else if(x<=49999){ s=x*0.07; } else{ s=(x-1000)*0.13; } cout<<s<<endl; return 0; }


测评信息: