結果

問題 No.509 塗りつぶしツール
ユーザー Theta
提出日時 2022-10-24 18:35:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-02 21:43:32
合計ジャッジ時間 2,063 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

numbers = {"0": 3, "1": 2, "2": 2, "3": 2, "4": 3, "5": 2, "6": 3,
           "7": 2, "8": 4, "9": 3}


def main():
    N = input()
    ctr = 0
    for letter in N:
        ctr += numbers[letter]
    print(ctr + 1)


if __name__ == "__main__":
    main()
0