lcy5419 @ 2023-04-05 15:32:21
s=int(input())
a=input()
if 'B' in a and 'C' in a:
print(int(s*0.6))
elif 'B' in a:
print(int(s*0.8))
elif 'C' in a:
print(int(s*0.7))
else:
print(int(s))
by _Fancy_ @ 2023-04-05 15:44:47
@lmx100127 要用long long
by Garry_HJR @ 2023-04-05 16:27:35
@lmx100127 你为什么要用python
?
by lcy5419 @ 2023-04-05 17:42:22
@yutiti80 关于python有long long这件事
by lcy5419 @ 2023-04-05 17:42:46
@Garry_HJR 因为我是傻逼,用c++不会做
by lcy5419 @ 2023-04-05 18:48:05
所以应该怎么做
by _Fancy_ @ 2023-04-05 18:57:39
@lmx100127 刚刚在c++课的课间,想错了(doge
by lcy5419 @ 2023-04-05 18:58:42
@yutiti80 。。。。。。。。。