結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-08-09 12:19:59 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 386 bytes |
| 記録 | |
| コンパイル時間 | 471 ms |
| コンパイル使用メモリ | 94,236 KB |
| 実行使用メモリ | 9,820 KB |
| 最終ジャッジ日時 | 2026-08-31 06:42:01 |
| 合計ジャッジ時間 | 2,200 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <map>
#include<string>
#include<queue>
#include<math.h>
#define ll long long
#define P pair<double,double>
#define lP pait<ll,ll>
using namespace std;
int main() {
P p,q;
double ans;
cin>>p.first>>p.second>>q.first>>q.second;
ans=abs(p.first-q.first)+abs(p.second-q.second);
cout<<ans/2<<endl;
return 0;
}
sorag