結果
| 問題 |
No.410 出会い
|
| ユーザー |
|
| 提出日時 | 2016-08-12 22:21:38 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 181 bytes |
| コンパイル時間 | 1,255 ms |
| コンパイル使用メモリ | 157,148 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 10:54:50 |
| 合計ジャッジ時間 | 2,025 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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);
}