結果

問題 No.1700 floor X
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-04 23:40:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 210 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 82,308 KB
実行使用メモリ 76,188 KB
最終ジャッジ日時 2024-05-02 03:02:44
合計ジャッジ時間 5,944 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,892 KB
testcase_01 AC 96 ms
76,160 KB
testcase_02 AC 97 ms
76,164 KB
testcase_03 AC 99 ms
75,596 KB
testcase_04 AC 101 ms
75,624 KB
testcase_05 AC 96 ms
76,156 KB
testcase_06 AC 97 ms
75,904 KB
testcase_07 AC 99 ms
75,704 KB
testcase_08 AC 97 ms
75,628 KB
testcase_09 AC 95 ms
75,752 KB
testcase_10 AC 96 ms
75,764 KB
testcase_11 AC 96 ms
75,888 KB
testcase_12 AC 95 ms
75,684 KB
testcase_13 AC 94 ms
75,776 KB
testcase_14 AC 95 ms
76,104 KB
testcase_15 AC 95 ms
76,028 KB
testcase_16 AC 97 ms
75,820 KB
testcase_17 AC 96 ms
75,904 KB
testcase_18 AC 95 ms
75,784 KB
testcase_19 AC 93 ms
76,112 KB
testcase_20 AC 93 ms
75,776 KB
testcase_21 AC 100 ms
75,572 KB
testcase_22 AC 101 ms
75,568 KB
testcase_23 AC 115 ms
75,680 KB
testcase_24 AC 99 ms
75,692 KB
testcase_25 AC 104 ms
75,828 KB
testcase_26 AC 100 ms
75,712 KB
testcase_27 AC 101 ms
75,752 KB
testcase_28 AC 100 ms
75,904 KB
testcase_29 AC 98 ms
76,032 KB
testcase_30 AC 99 ms
75,716 KB
testcase_31 AC 99 ms
75,828 KB
testcase_32 AC 103 ms
75,732 KB
testcase_33 AC 101 ms
76,188 KB
testcase_34 AC 97 ms
76,032 KB
testcase_35 AC 100 ms
75,884 KB
testcase_36 AC 98 ms
76,160 KB
testcase_37 AC 98 ms
75,812 KB
testcase_38 AC 96 ms
76,084 KB
testcase_39 AC 99 ms
75,708 KB
testcase_40 AC 97 ms
75,780 KB
testcase_41 AC 100 ms
75,768 KB
testcase_42 AC 39 ms
51,584 KB
testcase_43 AC 106 ms
76,032 KB
testcase_44 AC 111 ms
76,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t=int(input())
for i in range(t):
    n=int(input())
    ok=0
    ng=10**10

    while ng-ok>1:
        mid=(ok+ng)//2
        if mid**2 > n:
            ng = mid
        else:
            ok =mid
    print(ok)
0