提交时间:2024-12-04 16:43:00

运行 ID: 58089

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