結果

問題 No.410 出会い
ユーザー Aquaplus
提出日時 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
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0