結果
| 問題 | No.2628 Shrinkage |
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-02-17 00:18:57 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2026-10-20 19:43:15 |
| 合計ジャッジ時間 | 2,477 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge6_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 WA * 1 |
ソースコード
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")
ニックネーム