| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 359674 | 沈昊煊 | 【C1-11】交税 | C++ | 通过 | 100 | 2 MS | 248 KB | 301 | 2025-11-04 16:31:23 |
#include<iostream> using namespace std; int main(){ double x; cin>>x; if(x<10000){ cout<<0; }else if(x>=10000 && x<=29999){ cout<<int(1.0*x/100*3); }else if(x>=30000 && x<=49999){ cout<<int(1.0*x/100*7); }else{ cout<<int((x-1000)/100*13); } return 0; }