Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
319131 | 李南笙 | 【C1-11】交税 | C++ | Wrong Answer | 0 | 1 MS | 248 KB | 271 | 2025-04-25 19:43:34 |
#include<iostream> using namespace std; int main(){ double x,a; cin>>x; if(x<10000){ cout<<"0"; }else if(x>=10000&&x<30000){ a=3; cout<<x/a; }else if(x>=30000&&x<50000){ a=7; cout<<x/a; }else{ a=13; cout<<(x-1000)/a; } return 0; }