⌨️
[AtCoder]ABC-279|A - wwwvvvvvv
設問ページ
提出結果
def getString():
return input()
def main():
s = list(getString())
print(s.count('v') + s.count('w') * 2)
if __name__ == "__main__":
main()
def getString():
return input()
def main():
s = list(getString())
print(s.count('v') + s.count('w') * 2)
if __name__ == "__main__":
main()
Discussion