結果
問題 |
No.3180 angles sum
|
ユーザー |
![]() |
提出日時 | 2025-05-30 23:28:32 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 403 bytes |
コンパイル時間 | 2,987 ms |
コンパイル使用メモリ | 275,496 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-05-30 23:28:48 |
合計ジャッジ時間 | 14,470 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 3 WA * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; while(T--){ pair<int,int> A,B,C; cin>>A.first>>A.second; cin>>B.first>>B.second; cin>>C.first>>C.second; if(atan2(A.second,A.first)+atan2(B.second,B.first)==atan2(C.second,C.first)){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } } }