結果
| 問題 |
No.199 星を描こう
|
| コンテスト | |
| ユーザー |
n_knuu
|
| 提出日時 | 2019-05-06 22:21:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 121,516 KB |
| 最終ジャッジ日時 | 2024-06-28 12:46:20 |
| 合計ジャッジ時間 | 34,038 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| 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