結果

問題 No.1700 floor X
ユーザー HydruHydru
提出日時 2021-10-08 21:57:01
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 646 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 77,692 KB
最終ジャッジ日時 2023-09-16 09:05:42
合計ジャッジ時間 7,606 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,388 KB
testcase_01 AC 124 ms
77,656 KB
testcase_02 AC 125 ms
77,464 KB
testcase_03 AC 125 ms
77,316 KB
testcase_04 AC 124 ms
77,512 KB
testcase_05 AC 123 ms
77,516 KB
testcase_06 AC 123 ms
77,580 KB
testcase_07 AC 124 ms
77,572 KB
testcase_08 AC 125 ms
77,616 KB
testcase_09 AC 125 ms
77,636 KB
testcase_10 AC 125 ms
77,620 KB
testcase_11 AC 123 ms
77,692 KB
testcase_12 AC 125 ms
77,456 KB
testcase_13 AC 124 ms
77,508 KB
testcase_14 AC 126 ms
77,304 KB
testcase_15 AC 123 ms
77,540 KB
testcase_16 AC 125 ms
77,532 KB
testcase_17 AC 126 ms
77,592 KB
testcase_18 AC 123 ms
77,308 KB
testcase_19 AC 124 ms
77,552 KB
testcase_20 AC 124 ms
77,448 KB
testcase_21 AC 124 ms
77,344 KB
testcase_22 AC 125 ms
77,588 KB
testcase_23 AC 123 ms
77,340 KB
testcase_24 AC 127 ms
77,652 KB
testcase_25 AC 125 ms
77,452 KB
testcase_26 AC 122 ms
77,344 KB
testcase_27 AC 125 ms
77,456 KB
testcase_28 AC 129 ms
77,604 KB
testcase_29 AC 127 ms
77,312 KB
testcase_30 AC 126 ms
77,320 KB
testcase_31 AC 128 ms
77,452 KB
testcase_32 AC 129 ms
77,476 KB
testcase_33 AC 128 ms
77,640 KB
testcase_34 AC 127 ms
77,596 KB
testcase_35 AC 127 ms
77,312 KB
testcase_36 AC 126 ms
77,532 KB
testcase_37 AC 125 ms
77,664 KB
testcase_38 AC 126 ms
77,620 KB
testcase_39 AC 126 ms
77,612 KB
testcase_40 AC 126 ms
77,672 KB
testcase_41 AC 126 ms
77,372 KB
testcase_42 AC 72 ms
71,672 KB
testcase_43 AC 127 ms
77,668 KB
testcase_44 AC 129 ms
77,612 KB
権限があれば一括ダウンロードができます

ソースコード

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