結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
yukiteru
|
| 提出日時 | 2017-09-18 11:37:11 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 446 bytes |
| 記録 | |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 92,284 KB |
| 実行使用メモリ | 9,932 KB |
| 最終ジャッジ日時 | 2026-09-21 01:05:23 |
| 合計ジャッジ時間 | 1,616 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
yukiteru