Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
319136 | 李南笙 | 【C1-11】交税 | C++ | Compile Error | 0 | 0 MS | 0 KB | 272 | 2025-04-25 19:49:42 |
#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; }