結果
| 問題 |
No.410 出会い
|
| コンテスト | |
| ユーザー |
iroha168
|
| 提出日時 | 2017-01-12 19:08:49 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 389 bytes |
| コンパイル時間 | 632 ms |
| コンパイル使用メモリ | 88,008 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-21 10:16:07 |
| 合計ジャッジ時間 | 1,590 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 1 |
ソースコード
#include<string>
#include<iostream>
#include<algorithm>
#include<set>
#include<math.h>
#include<vector>
#include<sstream>
#include<queue>
#include<functional>
#include<bitset>
#include<cstdio>
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 << x+y << endl;
return 0;
}
iroha168