Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
24587 LeoWang 黑心商家 C++ 通过 1 MS 244 KB 210 2023-08-14 06:24:29

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int weight; cin>>weight; int money=weight/100*12; int youfei=8; youfei+=ceil((weight-1000)*1.0/500)*4; cout<<money+youfei; return 0; }


测评信息: