結果
問題 | No.2628 Shrinkage |
ユーザー |
![]() |
提出日時 | 2024-02-23 11:24:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 2,208 ms |
コンパイル使用メモリ | 192,236 KB |
最終ジャッジ日時 | 2025-02-19 19:11:08 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 27 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int TT; cin>>TT; while(TT--){ int a,b,c,d,e,f,g,h; cin>>a>>b>>c>>d>>e>>f>>g>>h; cout<<((c-a)*(h-f) == (d-b)*(g-e) && (c-a)*(f-d) != (d-b)*(e-c) ? "Yes" : "No")<<endl; } }