結果
| 問題 |
No.410 出会い
|
| ユーザー |
gotutiyan
|
| 提出日時 | 2017-11-15 23:27:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 576 bytes |
| コンパイル時間 | 646 ms |
| コンパイル使用メモリ | 80,880 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 11:27:16 |
| 合計ジャッジ時間 | 1,412 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <string>
#include <cstdlib>
#include <stack>
#include <queue>
#include <cmath>
#define rep(i,j,k) for(int i=(int)j;i<(int)k;i++)
#define repp(i,j,k) for(int i=j;i>=k;i--)
#define Sort(x) sort(x.begin(),x.end());
#define ll long long
int mod=1e9+7;
const int INF = 1e9;
using namespace std;
int main(void) {
double x, y, xx, yy;
cin >> x >> y >> xx >> yy;
printf("%f\n", abs(x - xx) / 2 + abs(y - yy) / 2);
return 0;
}
gotutiyan