結果

問題 No.1329 Square Sqsq
ユーザー heno239
提出日時 2021-01-08 22:15:15
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 173 bytes
コンパイル時間 459 ms
コンパイル使用メモリ 81,756 KB
実行使用メモリ 75,208 KB
最終ジャッジ日時 2024-11-16 12:43:19
合計ジャッジ時間 3,367 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 RE * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
le=0
ri=50005
while ri-le>1:
    m=(le+ri)//2
    sup=1
    for i in range(m):sup=sup*10
    sup-=1
    sup=sup*sup
    if sup<n:le=m
    else: ri=m
print(ri)
0