⌨️

[AtCoder]ABC-279|A - wwwvvvvvv

2023/08/07に公開

設問ページ

提出結果

def getString():
    return input()


def main():
    s = list(getString())

    print(s.count('v') + s.count('w') * 2)


if __name__ == "__main__":
    main()

Discussion