結果
| 問題 | No.1849 Three Times Value |
| ユーザー |
|
| 提出日時 | 2022-12-03 05:23:50 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 132 bytes |
| 記録 | |
| コンパイル時間 | 135 ms |
| コンパイル使用メモリ | 85,388 KB |
| 実行使用メモリ | 65,920 KB |
| 最終ジャッジ日時 | 2026-04-26 10:03:57 |
| 合計ジャッジ時間 | 2,454 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
N = int(input())
ans = 0
for i in range(1, N + 1):
if int(str(i) * 3) <= N:
ans += 1
else:
break
print(ans)