結果
問題 |
No.410 出会い
|
ユーザー |
|
提出日時 | 2019-12-15 01:59:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 22 ms / 2,000 ms |
コード長 | 253 bytes |
コンパイル時間 | 580 ms |
コンパイル使用メモリ | 72,332 KB |
最終ジャッジ日時 | 2025-01-08 11:36:29 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 19 |
ソースコード
#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; printf("%.5f\n",(abs(a-c)+abs(b-d))/2.0 ); }