Run ID:121662
提交时间:2025-06-07 19:19:09
#include<iostream> #include<cstdio> using namespace std; int main(){ int x; float y; cin>>x; y=0; if (((x<2)||(x==2))){ y=y+6; } if (((10>x)&&(x==10)&&(x>2))){ y=y+6; y=y+8*1.8; } if ((x>10)){ x=x-10; y=y+6; y=y+8*1.8; y=y+(x*2.7); } cout<<y; }