結果

問題 No.1849 Three Times Value
ユーザー KA37RI
提出日時 2024-07-23 21:03:46
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 83 ms / 2,000 ms
+ 724µs
コード長 141 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 264 ms
コンパイル使用メモリ 95,852 KB
実行使用メモリ 104,224 KB
最終ジャッジ日時 2026-08-24 08:19:37
合計ジャッジ時間 4,475 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

three = set()

for i in range(1, 100000):
	s = str(i)
	three.add(int(s + s + s))
	
n = int(input())

print(len([t for t in three if t <= n]))
0