結果
| 問題 | No.3240 Count 8 Included Numbers (Easy) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-30 22:35:21 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| + 367µs | |
| コード長 | 92 bytes |
| 記録 | |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 96,240 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-15 07:57:40 |
| 合計ジャッジ時間 | 2,854 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
ソースコード
N = int(input())
ans = sum(1 for i in range(1, N + 1) if str(i).count('8') > 0)
print(ans)