結果

問題 No.410 出会い
ユーザー okkuukenken
提出日時 2022-06-01 16:37:27
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 912 ms
コンパイル使用メモリ 83,568 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-21 01:42:03
合計ジャッジ時間 1,656 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<iomanip>
using namespace std;
int main(){
	int px,py,qx,qy;
	cin>>px>>py>>qx>>qy;
	cout<<setprecision(20)<<(abs(px-qx)+abs(py-qy))/2.<<endl;
}
0