Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
319136 李南笙 【C1-11】交税 C++ 编译错误 0 0 MS 0 KB 272 2025-04-25 19:49:42

Tests(0/0):


#include<iostream> using namespace std; int main(){ double x; cin>>x; if(x<10000){ cout<<"0"; }else if(x>=10000&&x<30000){ cout<<(int)(x*0.03); }else if(x>=30000&&x<50000){ cout<<(int)(x*0.07); }else{ cout(int)((x-1000)*0.13); } return 0; }


测评信息: