結果
問題 | No.1700 floor X |
ユーザー |
![]() |
提出日時 | 2021-10-08 22:47:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 113 ms / 2,000 ms |
コード長 | 232 bytes |
コンパイル時間 | 218 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-03 10:34:37 |
合計ジャッジ時間 | 6,414 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 44 |
ソースコード
import mathn=int(input())t=[]for i in range(n):s=int(input())ans=math.floor(math.sqrt(s))out=0left=ans-2right=ans+2for j in range(left,right+1):if(j**2<=s):out=jprint(out)