結果
問題 |
No.410 出会い
|
ユーザー |
|
提出日時 | 2016-10-29 04:05:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 469 ms |
コンパイル使用メモリ | 65,332 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-24 07:08:22 |
合計ジャッジ時間 | 1,312 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 18 WA * 1 |
ソースコード
#include <iostream> #include<algorithm> using namespace std; int main() { double a,b,c,d; cin>>a>>b>>c>>d; a-=c;b-=d; a=abs(a);b=abs(b); cout<<a/2+b/2<<endl; return 0; }