結果
問題 |
No.410 出会い
|
ユーザー |
|
提出日時 | 2018-02-18 17:40:57 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 241 bytes |
コンパイル時間 | 405 ms |
コンパイル使用メモリ | 56,888 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 04:31:00 |
合計ジャッジ時間 | 1,139 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 18 WA * 1 |
ソースコード
#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[2]) + abs(p[1] - p[3])) / 2.0 << endl; return 0; }