結果
| 問題 |
No.1700 floor X
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-14 15:09:31 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| コード長 | 152 bytes |
| コンパイル時間 | 183 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-03 10:48:08 |
| 合計ジャッジ時間 | 5,264 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 44 |
ソースコード
from math import sqrt
t = int(input())
for _ in range(t):
n = int(input())
x = int(sqrt(n))
if x * x > n:
x -= 1
print(x)