提交时间:2024-01-23 16:58:54

运行 ID: 125450

# include<iostream> using namespace std; int main() { double a,b; cin>>a>>b; if (a==1&&b>=1){ cout<<1*8+(b-1)*1; } else{ cout<<1*8+(b-1)*2; } return 0; }