結果

問題 No.1700 floor X
ユーザー mahiro72mahiro72
提出日時 2021-10-08 23:29:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 168 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 12,844 KB
最終ジャッジ日時 2023-09-30 13:32:57
合計ジャッジ時間 6,286 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
12,256 KB
testcase_01 AC 81 ms
8,692 KB
testcase_02 AC 82 ms
8,836 KB
testcase_03 AC 81 ms
8,784 KB
testcase_04 AC 80 ms
8,700 KB
testcase_05 AC 81 ms
8,904 KB
testcase_06 AC 80 ms
8,880 KB
testcase_07 AC 82 ms
8,700 KB
testcase_08 AC 82 ms
8,720 KB
testcase_09 AC 79 ms
8,608 KB
testcase_10 AC 81 ms
8,696 KB
testcase_11 AC 80 ms
8,792 KB
testcase_12 AC 81 ms
8,696 KB
testcase_13 AC 80 ms
8,784 KB
testcase_14 AC 80 ms
8,680 KB
testcase_15 AC 81 ms
8,784 KB
testcase_16 AC 84 ms
8,880 KB
testcase_17 AC 80 ms
8,708 KB
testcase_18 AC 81 ms
8,752 KB
testcase_19 AC 81 ms
8,836 KB
testcase_20 AC 80 ms
8,708 KB
testcase_21 TLE -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
testcase_41 -- -
testcase_42 -- -
testcase_43 -- -
testcase_44 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

def f(x):
    if x==1:return 1
    for i in range(x+1):
        if x<i**2:return i-1

T = int(input())
N = [int(input())for _ in range(T)]
for n in N:
    print(f(n))

0