結果

問題 No.509 塗りつぶしツール
ユーザー tookunn_1213
提出日時 2017-05-01 09:45:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-14 01:48:48
合計ジャッジ時間 2,461 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
ans = 1
c = [2 for i in range(0,10)]
c[0]+=1
c[4]+=1
c[6]+=1
c[8]+=2
c[9]+=1
for s in n:
	ans += c[ord(s)-ord('0')]
print(ans)
0