結果
| 問題 | 
                            No.410 出会い
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2018-02-11 00:34:47 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 298 bytes | 
| コンパイル時間 | 605 ms | 
| コンパイル使用メモリ | 63,544 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-11-06 19:09:58 | 
| 合計ジャッジ時間 | 1,370 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 18 WA * 1 | 
ソースコード
#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <math.h>
#include <utility>
#include <vector>
using namespace std;
int main(void)
{
    int px,py,qx,qy;
    cin >> px >> py >> qx >> qy;
    cout << (double)(abs(px-qx)+abs(py-qy))/2 << endl;
    return 0;
}