a987654 @ 2024-04-18 23:47:03
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long x;
char a,b;
cin>>x>>a>>b;
if(a=='A'&&b=='B'||a=='B'&&b=='A'||a=='B'&&b=='B')
cout<<x/8*10;
else if(a=='C'&&b=='A'||a=='A'&&b=='C'||a=='C'&&b=='C')
cout<<x/7*10;
else if(a=='C'&&b=='B'||a=='B'&&b=='C')
cout<<x/6*10;
else if(a=='A'&&b=='A')
cout<<x;
return 0;
}
by __Emerald__ @ 2024-04-19 09:38:41
你把乘号和除号弄反了
by __Emerald__ @ 2024-04-19 09:39:03
@a987654