結果

問題 No.3240 Count 8 Included Numbers (Easy)
ユーザー pluto77
提出日時 2025-09-26 08:30:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 5,197 ms
コンパイル使用メモリ 82,268 KB
実行使用メモリ 54,204 KB
最終ジャッジ日時 2025-09-26 08:30:29
合計ジャッジ時間 6,943 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
l=[]
for i in range(N+1):
 l.append(str(i))
cnt=0
for i in range(N+1):
 if '8' in l[i]:
  cnt+=1
print(cnt)
0