??? @root

wczrh 杀手皇后 2024-03-13 21:33:30 12

#include <bits/stdc++.h>

using namespace std;

int main() {

int a;

cin >>a;

if (a<=20) cout<<fixed<<setprecision(2)<<a*1.68;

else cout<<fixed<<setprecision(2)<<20*1.98;

}

{{ vote && vote.total.up }}

共 1 条回复

root 站长

行李重量大于 20 ,输出行李重量 * 1.98, 而不是 a * 1.98