結果
問題 |
No.3240 Count 8 Included Numbers (Easy)
|
ユーザー |
![]() |
提出日時 | 2025-08-22 21:18:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 124 bytes |
コンパイル時間 | 233 ms |
コンパイル使用メモリ | 82,836 KB |
実行使用メモリ | 54,344 KB |
最終ジャッジ日時 | 2025-08-22 21:18:59 |
合計ジャッジ時間 | 2,010 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 16 |
ソースコード
N = int(input()) ans = 0 for i in range(1, N+1): num = list(str(i)) if num.count("8")>0: ans += 1 print(ans)