結果
問題 |
No.2515 Similar Triangles
|
ユーザー |
![]() |
提出日時 | 2023-11-29 18:58:56 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 327 bytes |
コンパイル時間 | 1,960 ms |
コンパイル使用メモリ | 191,804 KB |
最終ジャッジ日時 | 2025-02-18 02:23:38 |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int a, b, c, d, e; bool f=0; cin >> a >> b >> c >> d >> e; if (b == d) f=1; if (a == e/2 && c == e/2) f=1; cout << (f ? "Yes" : "No") << endl; return 0; }