結果
問題 |
No.509 塗りつぶしツール
|
ユーザー |
![]() |
提出日時 | 2025-06-12 16:11:14 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 82,900 KB |
実行使用メモリ | 54,056 KB |
最終ジャッジ日時 | 2025-06-12 16:11:18 |
合計ジャッジ時間 | 2,381 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 WA * 16 |
ソースコード
n = input().strip() holes = {'0':1, '1':0, '2':0, '3':0, '4':1, '5':0, '6':1, '7':0, '8':2, '9':1} total = 0 for c in n: total += holes[c] + 2 total += 1 print(total)