結果

問題 No.1700 floor X
ユーザー shinichishinichi
提出日時 2021-10-16 14:56:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 106 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 78,296 KB
最終ジャッジ日時 2023-09-16 09:27:49
合計ジャッジ時間 6,463 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,668 KB
testcase_01 AC 100 ms
78,224 KB
testcase_02 AC 105 ms
78,156 KB
testcase_03 AC 101 ms
78,188 KB
testcase_04 AC 99 ms
78,016 KB
testcase_05 AC 99 ms
78,296 KB
testcase_06 AC 102 ms
78,168 KB
testcase_07 AC 99 ms
78,024 KB
testcase_08 AC 99 ms
78,224 KB
testcase_09 AC 100 ms
78,108 KB
testcase_10 AC 99 ms
78,204 KB
testcase_11 AC 101 ms
78,156 KB
testcase_12 AC 100 ms
78,096 KB
testcase_13 AC 102 ms
78,232 KB
testcase_14 AC 101 ms
78,024 KB
testcase_15 AC 100 ms
78,152 KB
testcase_16 AC 101 ms
78,156 KB
testcase_17 AC 101 ms
78,112 KB
testcase_18 AC 100 ms
78,144 KB
testcase_19 AC 100 ms
78,156 KB
testcase_20 AC 101 ms
77,932 KB
testcase_21 AC 100 ms
78,092 KB
testcase_22 AC 101 ms
78,132 KB
testcase_23 AC 100 ms
78,116 KB
testcase_24 AC 102 ms
78,136 KB
testcase_25 AC 100 ms
78,196 KB
testcase_26 AC 101 ms
78,168 KB
testcase_27 AC 102 ms
78,228 KB
testcase_28 AC 102 ms
78,244 KB
testcase_29 AC 101 ms
78,172 KB
testcase_30 AC 99 ms
78,148 KB
testcase_31 AC 101 ms
78,016 KB
testcase_32 AC 100 ms
78,136 KB
testcase_33 AC 100 ms
78,024 KB
testcase_34 AC 100 ms
78,208 KB
testcase_35 AC 101 ms
78,108 KB
testcase_36 AC 101 ms
78,000 KB
testcase_37 AC 102 ms
78,232 KB
testcase_38 AC 100 ms
78,004 KB
testcase_39 AC 106 ms
78,208 KB
testcase_40 AC 99 ms
78,020 KB
testcase_41 AC 101 ms
78,012 KB
testcase_42 AC 70 ms
71,896 KB
testcase_43 AC 100 ms
78,120 KB
testcase_44 AC 100 ms
78,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())

result = []
for _ in range(T):
    N = int(input())
    n = int(N**0.5)
    ans = None
    for k in range(n-1, n+2):
        if k**2 <= N:
            ans = k
    result.append(ans)
print(*result, sep='\n')
0