Run ID:71439
提交时间:2024-04-23 21:06:07
#include<bits/stdc++.h> using namespace std; int main(){ int gl; cin >> gl; if (gl<=2){ cout << "6"; } if (gl>2 && gl<=10){ cout << gl*1.8; } if (gl > 10){ cout << gl*(1.8+0.9); } return 0; }