結果
問題 |
No.410 出会い
|
ユーザー |
![]() |
提出日時 | 2017-09-18 11:37:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 446 bytes |
コンパイル時間 | 640 ms |
コンパイル使用メモリ | 72,764 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-08 02:27:03 |
合計ジャッジ時間 | 1,393 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 2 |
other | AC * 14 WA * 5 |
ソースコード
#include<iostream> #include<string> #include<string.h> #include<algorithm> #include<stdio.h> #include<cmath> #include<vector> #include<utility> #define FOR(i, a, b) for(int i=(a);i<=(b);i++) #define RFOR(i, a, b) for(int i=(a);i>=(b);i--) #define MOD 1000000007 using namespace std; int main(void) { int px, py, qx, qy; double math; cin >> px >> py >> qx >> qy; math = (abs(px - qx) + abs(py - qy)) / 2; cout << math << endl; return 0; }