結果

問題 No.1700 floor X
ユーザー Takuya NoguchiTakuya Noguchi
提出日時 2021-12-13 21:05:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 77,740 KB
最終ジャッジ日時 2023-09-16 09:38:54
合計ジャッジ時間 7,436 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,464 KB
testcase_01 AC 123 ms
77,352 KB
testcase_02 AC 123 ms
77,580 KB
testcase_03 AC 124 ms
77,564 KB
testcase_04 AC 123 ms
77,588 KB
testcase_05 AC 124 ms
77,440 KB
testcase_06 AC 124 ms
77,356 KB
testcase_07 AC 127 ms
77,508 KB
testcase_08 AC 124 ms
77,504 KB
testcase_09 AC 122 ms
77,584 KB
testcase_10 AC 122 ms
77,648 KB
testcase_11 AC 122 ms
77,448 KB
testcase_12 AC 122 ms
77,328 KB
testcase_13 AC 123 ms
77,564 KB
testcase_14 AC 123 ms
77,664 KB
testcase_15 AC 123 ms
77,496 KB
testcase_16 AC 121 ms
77,508 KB
testcase_17 AC 123 ms
77,580 KB
testcase_18 AC 122 ms
77,160 KB
testcase_19 AC 122 ms
77,440 KB
testcase_20 AC 122 ms
77,516 KB
testcase_21 AC 125 ms
77,600 KB
testcase_22 AC 124 ms
77,368 KB
testcase_23 AC 122 ms
77,560 KB
testcase_24 AC 123 ms
77,440 KB
testcase_25 AC 126 ms
77,328 KB
testcase_26 AC 125 ms
77,332 KB
testcase_27 AC 124 ms
77,740 KB
testcase_28 AC 126 ms
77,536 KB
testcase_29 AC 126 ms
77,664 KB
testcase_30 AC 124 ms
77,364 KB
testcase_31 AC 124 ms
77,564 KB
testcase_32 AC 124 ms
77,328 KB
testcase_33 AC 124 ms
77,652 KB
testcase_34 AC 125 ms
77,668 KB
testcase_35 AC 128 ms
77,604 KB
testcase_36 AC 125 ms
77,420 KB
testcase_37 AC 123 ms
77,604 KB
testcase_38 AC 124 ms
77,452 KB
testcase_39 AC 125 ms
77,504 KB
testcase_40 AC 126 ms
77,656 KB
testcase_41 AC 125 ms
77,236 KB
testcase_42 AC 70 ms
71,312 KB
testcase_43 AC 123 ms
77,504 KB
testcase_44 AC 127 ms
77,636 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

for _ in range(int(input())):
    n = int(input())
    x = int(math.sqrt(n))
    if x * x > n: x -= 1

    print(x)
0