結果

問題 No.410 出会い
ユーザー ui_mtc
提出日時 2020-03-14 17:33:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 273 bytes
コンパイル時間 1,823 ms
コンパイル使用メモリ 166,420 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-23 21:19:02
合計ジャッジ時間 2,794 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define int long long
using namespace std;

signed main(){
  double A, B, C, D;
  cin >> A >> B >> C >> D;
  
  cout << fixed << setprecision(10);
  cout << abs(A-C) << endl;
  cout << abs(B-D) << endl;
  cout << (abs(A-C)+abs(B-D))/2.0 << endl;
}
0