結果
| 問題 | No.2628 Shrinkage |
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-02-16 21:27:39 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 485 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-04-15 08:30:19 |
| 合計ジャッジ時間 | 4,152 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 27 |
ソースコード
for _ in range(int(input())):
a,b,c,d,e,f,g,h = map(int,input().split())
i = (a-e)**2+(b-f)**2==(c-g)**2+(d-h)**2
j = (a-e)*(d-h)!=(b-f)*(c-g)
print("Yes" if i and j else "No")
ニックネーム