Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
125284 黄子轩 快递费计算 C++ 通过 100 0 MS 244 KB 188 2024-01-23 16:41:25

Tests(1/1):


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


测评信息: