| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 76683 | sh25_zhuhy | 计算邮资 | C++ | Accepted | 0 MS | 240 KB | 279 | 2025-12-19 15:45:21 |
#include<bits/stdc++.h> using namespace std; int main() { double c; int a; char b; cin>>a>>b; if(a>1000) c=8.0; else c=(8+(500-(a-1000)%500)+(a-1000)/500)*1.0; if(int(b)==121) cout<<c+9; else cout<<c; }