| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 135678 | 陈家宝 | 快递费计算 | C++ | Accepted | 100 | 0 MS | 252 KB | 221 | 2024-03-06 13:06:44 |
#include<bits/stdc++.h> using namespace std; int main () { int s,w; cin>>s>>w; if(s==1){ if(w>1)cout<<1*(w-1)+8; else cout<<8; } else{ if(w>1)cout<<2*(w-1)+10; else cout<<10; } return 0; }