結果
| 問題 | No.2628 Shrinkage |
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-02-17 00:18:57 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 92 ms / 2,000 ms |
| + 619µs | |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 487 ms |
| コンパイル使用メモリ | 21,332 KB |
| 実行使用メモリ | 15,784 KB |
| 最終ジャッジ日時 | 2026-09-05 18:55:16 |
| 合計ジャッジ時間 | 4,982 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 |
ソースコード
for _ in range(int(input())):
a,b,c,d,e,f,g,h = map(int,input().split())
i = (a,b,c,d)==(e,f,g,h)
j = (a-c)**2+(b-d)**2>(e-g)**2+(f-h)**2
k = (a-c)*(f-h)==(b-d)*(e-g)
l = (a-c)*(e-g)>=0
print("Yes" if i or j and k and l else "No")
ニックネーム