提交时间:2024-01-23 16:56:15
运行 ID: 125432
# include<iostream> using namespace std; int main() { int 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; }