結果
| 問題 | No.199 星を描こう |
| コンテスト | |
| ユーザー |
n_knuu
|
| 提出日時 | 2019-05-06 22:21:48 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 250 bytes |
| 記録 | |
| コンパイル時間 | 445 ms |
| コンパイル使用メモリ | 20,808 KB |
| 実行使用メモリ | 124,292 KB |
| 最終ジャッジ日時 | 2026-03-17 06:12:55 |
| 合計ジャッジ時間 | 50,769 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 TLE * 1 |
| other | AC * 24 RE * 1 |
ソースコード
import numpy as np
from scipy.spatial import ConvexHull
points = []
for _ in range(5):
x, y = map(int, input().split())
points.append([x, y])
points = np.asarray(points)
hull = ConvexHull(points)
print("YES" if hull.nsimplex == 5 else "NO")
n_knuu