結果
問題 |
No.1700 floor X
|
ユーザー |
![]() |
提出日時 | 2023-12-26 16:17:29 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 307 bytes |
コンパイル時間 | 393 ms |
コンパイル使用メモリ | 82,232 KB |
実行使用メモリ | 76,904 KB |
最終ジャッジ日時 | 2024-09-27 15:13:14 |
合計ジャッジ時間 | 6,789 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 43 WA * 1 |
ソースコード
t = int(input()) def nibutan(l,r): while abs(r-l) > 1: mid = (l+r)//2 if mid**2 <= n: l = mid else: r = mid return l,r for _ in range(t): n = int(input()) left,right = 0,10**9 left,right = nibutan(left,right) print(left)