| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 333954 | 李俞家骅 | 【C1-11】交税 | C++ | Accepted | 100 | 5 MS | 248 KB | 323 | 2025-07-17 09:53:20 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n<10000) cout<<"0"; else if(n>=10000&&n<=29999) cout<<(int(n*0.03)); else if(n>=30000&&n<=49999) cout<<(int(n*0.07)); else if(n>=50000) cout<<(int((n-1000)*0.13)); return 0; }