Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
359673 沈昊煊 【C1-11】交税 C++ 解答错误 33 3 MS 244 KB 273 2025-11-04 16:18:52

Tests(1/3):


#include<iostream> using namespace std; int main(){ int x; cin>>x; if(x<10000){ cout<<0; }else if(x>=10000 && x<=29999){ cout<<x/100*3; }else if(x>=30000 && x<=49999){ cout<<x/100*7; }else{ cout<<(x-1000)/100*13; } return 0; }


测评信息: