結果

問題 No.410 出会い
ユーザー Yut176
提出日時 2016-08-12 22:23:08
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 532 ms
コンパイル使用メモリ 63,112 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 12:20:18
合計ジャッジ時間 1,339 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;

int main(){

	int px,py;
	cin >> px >> py;
	int qx,qy;
	cin >> qx >> qy;

	cout << (double)(abs(px-qx) + abs(py-qy))/2 << endl;
	
	return 0;
}
0