結果
| 問題 | No.3352 中点判定 |
| コンテスト | |
| ユーザー |
SnowBeenDiding
|
| 提出日時 | 2025-11-14 21:21:11 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 322µs | |
| コード長 | 443 bytes |
| 記録 | |
| コンパイル時間 | 4,025 ms |
| コンパイル使用メモリ | 376,032 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-16 14:24:32 |
| 合計ジャッジ時間 | 5,150 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
#define rep(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
using namespace atcoder;
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << fixed << setprecision(12);
ll a, b, c;
cin >> a >> b >> c;
string ans;
if (b + b == a + c)
ans = "Yes";
else
ans = "No";
cout << ans << endl;
}
SnowBeenDiding