Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
319138 | 李南笙 | 【C1-11】交税 | C++ | Accepted | 100 | 4 MS | 248 KB | 274 | 2025-04-25 19:50:05 |
#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; }