Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
58089 王一涵(吃土豆长大的马铃薯) 黑心商家 C++ Accepted 0 MS 244 KB 210 2024-12-04 16:43:00

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


Judgement Protocol: