結果

問題 No.199 星を描こう
ユーザー H3PO4H3PO4
提出日時 2020-05-26 14:22:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 160 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 10,604 KB
実行使用メモリ 92,088 KB
最終ジャッジ日時 2023-08-03 04:54:56
合計ジャッジ時間 12,457 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,011 ms
49,792 KB
testcase_01 AC 244 ms
49,584 KB
testcase_02 AC 241 ms
49,620 KB
testcase_03 AC 239 ms
49,684 KB
testcase_04 AC 245 ms
49,784 KB
testcase_05 AC 239 ms
49,804 KB
testcase_06 AC 240 ms
49,796 KB
testcase_07 AC 287 ms
49,528 KB
testcase_08 AC 244 ms
49,740 KB
testcase_09 AC 241 ms
49,668 KB
testcase_10 AC 240 ms
49,764 KB
testcase_11 AC 240 ms
49,720 KB
testcase_12 AC 237 ms
49,636 KB
testcase_13 AC 241 ms
49,800 KB
testcase_14 AC 242 ms
49,764 KB
testcase_15 AC 238 ms
49,832 KB
testcase_16 RE -
testcase_17 AC 240 ms
49,596 KB
testcase_18 AC 244 ms
49,724 KB
testcase_19 AC 241 ms
49,612 KB
testcase_20 AC 240 ms
49,784 KB
testcase_21 AC 239 ms
49,776 KB
testcase_22 AC 241 ms
49,828 KB
testcase_23 AC 240 ms
49,644 KB
testcase_24 AC 239 ms
49,536 KB
testcase_25 AC 238 ms
49,640 KB
testcase_26 AC 242 ms
49,732 KB
testcase_27 AC 244 ms
92,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.spatial import ConvexHull

P = [tuple(map(int, input().split())) for _ in range(5)]
x = ConvexHull(P).simplices
print('YES' if len(x) == 5 else 'NO')
0