結果
問題 |
No.410 出会い
|
ユーザー |
|
提出日時 | 2018-02-18 17:36:49 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 241 bytes |
コンパイル時間 | 428 ms |
コンパイル使用メモリ | 57,228 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 04:30:53 |
合計ジャッジ時間 | 1,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 2 WA * 17 |
ソースコード
#include <iostream> #include <algorithm> #include <string> #include <cstdio> using namespace std; int main() { int p[4]; for (auto& x : p) cin >> x; cout << (abs(p[0] - p[1]) + abs(p[2] + p[3])) / 2.0 << endl; return 0; }