結果
問題 |
No.410 出会い
|
ユーザー |
![]() |
提出日時 | 2017-07-04 11:48:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 224 bytes |
コンパイル時間 | 3,890 ms |
コンパイル使用メモリ | 63,380 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-28 11:23:31 |
合計ジャッジ時間 | 6,589 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 19 |
ソースコード
#include <iostream> using namespace std; int main(){ int px = 0, py = 0; int qx = 0, qy = 0; cin >> px >> py; cin >> qx >> qy; printf("%f\n" ,double( abs(px - qx) + abs(py - qy) ) / 2.0); return 0; }