結果
問題 |
No.509 塗りつぶしツール
|
ユーザー |
![]() |
提出日時 | 2025-06-12 20:39:58 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 374 ms |
コンパイル使用メモリ | 81,660 KB |
実行使用メモリ | 53,844 KB |
最終ジャッジ日時 | 2025-06-12 20:40:14 |
合計ジャッジ時間 | 2,308 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 25 |
ソースコード
digit_map = { '0': 2, '1': 3, '2': 2, '3': 2, '4': 3, '5': 2, '6': 4, '7': 3, '8': 4, '9': 3 } n = input().strip() total = 0 for c in n: total += digit_map[c] print(total)