結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-08-12 22:21:38 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 181 bytes |
| 記録 | |
| コンパイル時間 | 995 ms |
| コンパイル使用メモリ | 175,636 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-17 01:56:17 |
| 合計ジャッジ時間 | 1,611 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
int d = abs(x1 - x2) + abs(y1 - y2);
printf("%.20f\n", d / 2.0);
}