結果
| 問題 |
No.410 出会い
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-04 23:45:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 231 bytes |
| コンパイル時間 | 2,248 ms |
| コンパイル使用メモリ | 185,876 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-21 17:35:59 |
| 合計ジャッジ時間 | 3,392 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 1 |
ソースコード
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main() {
double PX, PY, QX, QY; cin >> PX >> PY >> QX >> QY;
int X = abs(PX-QX);
int Y = abs(PY-QY);
double ans = (X+Y)/2.0;
cout << ans << endl;
}