結果
問題 | No.1849 Three Times Value |
ユーザー |
![]() |
提出日時 | 2022-03-16 15:11:29 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 114 ms / 2,000 ms |
コード長 | 120 bytes |
コンパイル時間 | 364 ms |
コンパイル使用メモリ | 82,532 KB |
実行使用メモリ | 75,884 KB |
最終ジャッジ日時 | 2024-09-24 15:16:03 |
合計ジャッジ時間 | 4,567 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
ソースコード
n = int(input()) ans = 0 for i in range(1, 10**6+1): m = int(str(i)*3) if m <= n: ans += 1 print(ans)