提交时间:2024-11-08 07:08:01

运行 ID: 55522

#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; }