結果

問題 No.1700 floor X
ユーザー harurunharurun
提出日時 2021-09-10 23:59:01
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 282 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 77,936 KB
最終ジャッジ日時 2023-09-30 09:29:08
合計ジャッジ時間 8,179 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,264 KB
testcase_01 AC 136 ms
77,464 KB
testcase_02 AC 132 ms
77,292 KB
testcase_03 AC 136 ms
77,472 KB
testcase_04 AC 133 ms
77,316 KB
testcase_05 AC 135 ms
77,428 KB
testcase_06 AC 134 ms
77,380 KB
testcase_07 AC 132 ms
77,472 KB
testcase_08 AC 134 ms
77,340 KB
testcase_09 AC 132 ms
77,432 KB
testcase_10 AC 133 ms
77,208 KB
testcase_11 AC 132 ms
77,292 KB
testcase_12 AC 134 ms
77,344 KB
testcase_13 AC 134 ms
77,280 KB
testcase_14 AC 133 ms
77,300 KB
testcase_15 AC 134 ms
77,252 KB
testcase_16 AC 133 ms
77,232 KB
testcase_17 AC 132 ms
77,284 KB
testcase_18 AC 134 ms
77,588 KB
testcase_19 AC 134 ms
77,388 KB
testcase_20 AC 134 ms
77,472 KB
testcase_21 AC 139 ms
77,628 KB
testcase_22 AC 143 ms
77,836 KB
testcase_23 AC 138 ms
77,544 KB
testcase_24 AC 139 ms
77,768 KB
testcase_25 AC 138 ms
77,460 KB
testcase_26 AC 140 ms
77,856 KB
testcase_27 AC 139 ms
77,468 KB
testcase_28 AC 139 ms
77,376 KB
testcase_29 AC 138 ms
77,640 KB
testcase_30 AC 145 ms
77,844 KB
testcase_31 AC 139 ms
77,452 KB
testcase_32 AC 139 ms
77,468 KB
testcase_33 AC 138 ms
77,416 KB
testcase_34 AC 140 ms
77,376 KB
testcase_35 AC 138 ms
77,936 KB
testcase_36 AC 139 ms
77,460 KB
testcase_37 AC 142 ms
77,868 KB
testcase_38 AC 140 ms
77,620 KB
testcase_39 AC 138 ms
77,620 KB
testcase_40 AC 142 ms
77,712 KB
testcase_41 WA -
testcase_42 AC 75 ms
71,396 KB
testcase_43 AC 131 ms
77,304 KB
testcase_44 AC 134 ms
77,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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


def main():
  T=int(input())
  assert(1<=T<=10**4)
  for i in range(T):
    solve()
  return

main()
0