結果
問題 |
No.410 出会い
|
ユーザー |
|
提出日時 | 2019-12-15 01:58:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 668 ms |
コンパイル使用メモリ | 72,504 KB |
最終ジャッジ日時 | 2025-01-08 11:36:24 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 18 WA * 1 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int a,b,c,d; cin >> a >> b >> c >> d; cout << (double)(abs(a-c)+abs(b-d))/2 << endl; }