結果

問題 No.410 出会い
ユーザー kotatsugame
提出日時 2016-10-29 04:08:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 1,009 ms
コンパイル使用メモリ 65,792 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-24 07:08:32
合計ジャッジ時間 1,261 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include<algorithm>
using namespace std;

int main() {
	double a,b,c,d;
	cin>>a>>b>>c>>d;
	a-=c;b-=d;
	if(a<0)a*=-1.0;
	if(b<0)b*=-1.0;
	cout<<a/2+b/2<<endl;
	return 0;
}
0