Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
319138 李南笙 【C1-11】交税 C++ 通过 100 4 MS 248 KB 274 2025-04-25 19:50:05

Tests(3/3):


#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; }


测评信息: