結果
問題 |
No.1329 Square Sqsq
|
ユーザー |
![]() |
提出日時 | 2021-01-08 22:14:20 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 171 bytes |
コンパイル時間 | 351 ms |
コンパイル使用メモリ | 82,016 KB |
実行使用メモリ | 65,024 KB |
最終ジャッジ日時 | 2024-11-16 12:41:24 |
合計ジャッジ時間 | 2,702 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 1 RE * 19 |
ソースコード
n=int(input()) le=0 ri=400 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)