結果
| 問題 |
No.410 出会い
|
| ユーザー |
iroha168
|
| 提出日時 | 2017-01-12 19:11:51 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 427 bytes |
| コンパイル時間 | 769 ms |
| コンパイル使用メモリ | 91,528 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 11:20:03 |
| 合計ジャッジ時間 | 1,556 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
ソースコード
#include<string>
#include<iostream>
#include<algorithm>
#include<set>
#include<math.h>
#include<vector>
#include<sstream>
#include<queue>
#include<functional>
#include<bitset>
#include<cstdio>
#include<iomanip>
using namespace std;
int main() {
int px, py, qx, qy;
cin >> px >> py >> qx >> qy;
double x = (double)abs(px - qx) / 2;
double y = (double)abs(py - qy) / 2;
cout << setprecision(20) << x+y << endl;
return 0;
}
iroha168