| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 125299 | 童俊杰 | 快递费计算 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 257 | 2024-01-23 16:42:35 |
#include<iostream> #include<cstdio> using namespace std; int main() { int a,b; cin>>a>>b; if(a<=1&&b<=1){cout<<18; }else if(a<=1&&b>1){cout<<18+2*(b-1); }else if(a>1&&b<=1){cout<<18+2*(a-1); }else if(a>1&&b>1){cout<<18+2*(a+b-2); } return 0; }