⌨️
[AtCoder]ABC-382|A - Daily Cookie
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def getString():
return input()
def main():
N, D = getIntMap()
S = getString()
print(N - (S.count("@") - D))
if __name__ == "__main__":
main()
Discussion