結果

問題 No.1700 floor X
ユーザー harurunharurun
提出日時 2021-09-10 23:53:09
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 236 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 77,888 KB
最終ジャッジ日時 2023-09-30 09:28:47
合計ジャッジ時間 9,254 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,448 KB
testcase_01 AC 128 ms
77,248 KB
testcase_02 AC 132 ms
77,644 KB
testcase_03 AC 130 ms
77,528 KB
testcase_04 AC 131 ms
77,520 KB
testcase_05 AC 130 ms
77,532 KB
testcase_06 AC 126 ms
77,632 KB
testcase_07 AC 129 ms
77,604 KB
testcase_08 AC 130 ms
77,516 KB
testcase_09 AC 129 ms
77,616 KB
testcase_10 AC 128 ms
77,512 KB
testcase_11 AC 131 ms
77,252 KB
testcase_12 AC 129 ms
77,636 KB
testcase_13 AC 130 ms
77,468 KB
testcase_14 AC 129 ms
77,400 KB
testcase_15 AC 132 ms
77,416 KB
testcase_16 AC 130 ms
77,416 KB
testcase_17 AC 132 ms
77,280 KB
testcase_18 AC 130 ms
77,404 KB
testcase_19 AC 132 ms
77,604 KB
testcase_20 AC 132 ms
77,604 KB
testcase_21 AC 137 ms
77,508 KB
testcase_22 AC 139 ms
77,508 KB
testcase_23 AC 135 ms
77,664 KB
testcase_24 AC 137 ms
77,400 KB
testcase_25 AC 136 ms
77,756 KB
testcase_26 AC 139 ms
77,616 KB
testcase_27 AC 138 ms
77,516 KB
testcase_28 AC 139 ms
77,628 KB
testcase_29 AC 137 ms
77,500 KB
testcase_30 AC 140 ms
77,572 KB
testcase_31 AC 138 ms
77,568 KB
testcase_32 AC 140 ms
77,796 KB
testcase_33 AC 139 ms
77,684 KB
testcase_34 AC 137 ms
77,628 KB
testcase_35 AC 139 ms
77,800 KB
testcase_36 AC 136 ms
77,756 KB
testcase_37 AC 139 ms
77,784 KB
testcase_38 AC 137 ms
77,748 KB
testcase_39 AC 136 ms
77,888 KB
testcase_40 AC 141 ms
77,740 KB
testcase_41 WA -
testcase_42 AC 72 ms
71,088 KB
testcase_43 AC 132 ms
77,500 KB
testcase_44 AC 132 ms
77,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
  N=int(input())
  ac=1
  wa=10**9
  for i in range(40):
    k=(ac+wa)//2
    if k*k<=N:
      ac=k
    else:
      wa=k
  print(ac)
  return


def main():
  T=int(input())
  for i in range(T):
    solve()
  return

main()
0