Run ID:71443

提交时间:2024-04-23 21:13:30

#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)*2.7+6; } return 0; }