Run ID:71441

提交时间:2024-04-23 21:09:29

#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-2*)1.8+6; } if (gl > 10){ cout << (gl-2)*(1.8+0.9)+6; } return 0; }