結果

問題 No.410 出会い
ユーザー gotutiyan
提出日時 2017-11-15 23:22:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 578 bytes
コンパイル時間 853 ms
コンパイル使用メモリ 81,140 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-25 04:01:52
合計ジャッジ時間 1,699 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
	cout << abs(x - xx) / 2 + abs(y - yy) / 2 << endl;
	


	return 0;
}
0