Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
125271 黄子轩 快递费计算 C++ 解答错误 0 0 MS 244 KB 192 2024-01-23 16:40:28

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main() { int s,w; cin>>s>>w; if (s==1){ w=8*w+(w-1)*1; cout<<w; }else{ w=10*w+(w-1)*2; cout<<w; } }


测评信息: