結果

問題 No.1700 floor X
ユーザー hir355hir355
提出日時 2021-10-08 22:49:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 667 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 77,452 KB
最終ジャッジ日時 2023-09-16 09:19:19
合計ジャッジ時間 7,943 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
71,268 KB
testcase_01 AC 132 ms
77,268 KB
testcase_02 AC 124 ms
77,136 KB
testcase_03 AC 121 ms
77,232 KB
testcase_04 AC 119 ms
77,324 KB
testcase_05 AC 119 ms
77,076 KB
testcase_06 AC 120 ms
77,296 KB
testcase_07 AC 119 ms
77,308 KB
testcase_08 AC 120 ms
77,240 KB
testcase_09 AC 120 ms
77,136 KB
testcase_10 AC 120 ms
77,272 KB
testcase_11 AC 121 ms
77,296 KB
testcase_12 AC 120 ms
77,284 KB
testcase_13 AC 121 ms
77,452 KB
testcase_14 AC 118 ms
77,412 KB
testcase_15 AC 121 ms
77,236 KB
testcase_16 AC 120 ms
77,240 KB
testcase_17 AC 119 ms
77,272 KB
testcase_18 AC 119 ms
77,292 KB
testcase_19 AC 120 ms
77,296 KB
testcase_20 AC 121 ms
77,360 KB
testcase_21 AC 124 ms
76,940 KB
testcase_22 AC 125 ms
77,144 KB
testcase_23 AC 128 ms
77,416 KB
testcase_24 AC 123 ms
77,236 KB
testcase_25 AC 123 ms
77,240 KB
testcase_26 AC 124 ms
77,232 KB
testcase_27 AC 123 ms
77,296 KB
testcase_28 AC 125 ms
77,140 KB
testcase_29 AC 125 ms
77,256 KB
testcase_30 AC 123 ms
77,136 KB
testcase_31 AC 121 ms
77,428 KB
testcase_32 AC 122 ms
77,380 KB
testcase_33 AC 122 ms
76,940 KB
testcase_34 AC 121 ms
77,272 KB
testcase_35 AC 123 ms
77,380 KB
testcase_36 AC 125 ms
77,140 KB
testcase_37 AC 122 ms
77,268 KB
testcase_38 AC 122 ms
77,128 KB
testcase_39 AC 121 ms
77,304 KB
testcase_40 AC 123 ms
77,128 KB
testcase_41 AC 125 ms
77,252 KB
testcase_42 AC 76 ms
71,216 KB
testcase_43 AC 119 ms
77,128 KB
testcase_44 AC 120 ms
77,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t = int(input())
for _ in range(t):
    n = int(input())
    l, r = 0, 1000000000000
    while r - l > 1:
        m = (l + r) // 2
        if m * m <= n:
            l = m
        else:
            r = m
    print(l)
0