結果
問題 |
No.3218 Night Equation
|
ユーザー |
|
提出日時 | 2025-08-02 20:55:35 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 148 bytes |
コンパイル時間 | 296 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 818,736 KB |
最終ジャッジ日時 | 2025-08-02 20:55:53 |
合計ジャッジ時間 | 17,315 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 4 RE * 10 TLE * 1 MLE * 1 -- * 13 |
ソースコード
import numpy as np n = int(input()) a = list(map(int, input().split())) a.append(-1) x = np.roots(a) print("Yes" if any(e > 0 for e in x) else "No")