結果

問題 No.1700 floor X
ユーザー neckrawarmerneckrawarmer
提出日時 2021-10-08 22:02:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 361 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 77,576 KB
最終ジャッジ日時 2023-09-16 09:09:32
合計ジャッジ時間 7,267 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,512 KB
testcase_01 AC 107 ms
76,984 KB
testcase_02 AC 107 ms
76,980 KB
testcase_03 AC 106 ms
77,020 KB
testcase_04 AC 108 ms
76,848 KB
testcase_05 AC 107 ms
76,768 KB
testcase_06 AC 110 ms
76,844 KB
testcase_07 AC 108 ms
76,872 KB
testcase_08 AC 112 ms
76,876 KB
testcase_09 AC 108 ms
76,848 KB
testcase_10 AC 110 ms
77,016 KB
testcase_11 AC 107 ms
76,976 KB
testcase_12 AC 110 ms
76,872 KB
testcase_13 AC 108 ms
76,864 KB
testcase_14 AC 109 ms
77,152 KB
testcase_15 AC 107 ms
76,660 KB
testcase_16 AC 109 ms
76,844 KB
testcase_17 AC 107 ms
77,012 KB
testcase_18 AC 105 ms
76,824 KB
testcase_19 AC 107 ms
76,876 KB
testcase_20 AC 107 ms
76,940 KB
testcase_21 AC 123 ms
77,388 KB
testcase_22 AC 123 ms
77,384 KB
testcase_23 AC 122 ms
77,352 KB
testcase_24 AC 122 ms
77,144 KB
testcase_25 AC 121 ms
77,276 KB
testcase_26 AC 122 ms
77,324 KB
testcase_27 AC 122 ms
77,324 KB
testcase_28 AC 123 ms
77,048 KB
testcase_29 AC 125 ms
77,308 KB
testcase_30 AC 124 ms
77,276 KB
testcase_31 AC 125 ms
77,388 KB
testcase_32 AC 119 ms
77,048 KB
testcase_33 AC 123 ms
77,388 KB
testcase_34 AC 122 ms
77,340 KB
testcase_35 AC 124 ms
77,388 KB
testcase_36 AC 123 ms
77,496 KB
testcase_37 AC 123 ms
77,328 KB
testcase_38 AC 129 ms
77,292 KB
testcase_39 AC 127 ms
77,576 KB
testcase_40 AC 122 ms
77,372 KB
testcase_41 AC 121 ms
77,052 KB
testcase_42 AC 73 ms
71,256 KB
testcase_43 AC 124 ms
77,324 KB
testcase_44 AC 125 ms
77,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t=int(input())
for _ in range(t):
  n=int(input())
  ok=0;ng=n+1;
  while abs(ok-ng)>1:
    mid=(ok+ng)//2
    if(mid*mid<=n):ok=mid
    else :ng=mid
  print(ok)
0