Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
884 A班-何泓霏 行李托运费-2 C++ Wrong Answer 0 0 MS 260 KB 209 2024-11-30 11:17:53

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ float n; cin>>n; if(n<=20) { cout<<n*1.68<<endl; } else if(n>20) { cout<<setprecision(2)<<fixed<<n*1.98<<endl; } return 0; }


Judgement Protocol: