結果
| 問題 |
No.1700 floor X
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-13 21:05:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 100 ms / 2,000 ms |
| コード長 | 128 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 76,672 KB |
| 最終ジャッジ日時 | 2024-07-03 10:50:59 |
| 合計ジャッジ時間 | 5,769 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 44 |
ソースコード
import math
for _ in range(int(input())):
n = int(input())
x = int(math.sqrt(n))
if x * x > n: x -= 1
print(x)