結果
| 問題 |
No.3352 中点判定
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-15 18:52:58 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 281 bytes |
| コンパイル時間 | 5,781 ms |
| コンパイル使用メモリ | 274,464 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-11-15 18:53:06 |
| 合計ジャッジ時間 | 3,760 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, s, e) for (int i = (int)(s); i < (int)(e); ++i)
int main() {
cin.tie(nullptr);
ios_base::sync_with_stdio(false);
int P, Q, R;
cin >> P >> Q >> R;
cout << (Q*2 == P + R ? "Yes\n" : "No\n");
}