結果

問題 No.410 出会い
ユーザー maicune
提出日時 2019-09-01 16:54:52
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 1,251 ms
コンパイル使用メモリ 159,004 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-28 15:25:14
合計ジャッジ時間 2,263 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    int px,py,qx,qy;
    cin>>px>>py>>qx>>qy;
    double ans=(abs(px-qx)+abs(py-qy))/2.0;
    cout<<ans<<endl;
}
0