結果

問題 No.410 出会い
ユーザー e869120
提出日時 2016-08-15 09:14:23
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 537 ms
コンパイル使用メモリ 67,440 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 11:06:37
合計ジャッジ時間 1,332 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cmath>
using namespace std;
int a,b,c,d,e;
int main(){
	cin>>a>>b>>c>>d;
	e=abs(a-c)+abs(b-d);e*=5;
	cout<<e/10<<'.'<<e%10<<endl;
}
0