結果

問題 No.1700 floor X
ユーザー Hydru
提出日時 2021-10-08 21:57:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 76,632 KB
最終ジャッジ日時 2024-07-03 10:24:25
合計ジャッジ時間 5,533 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt

t=int(input())
for i in range(t):
    x=int(input())
    y=int(sqrt(x))
    if y**2>x:
        print(y-1)
    else:
        print(y)
0