結果
問題 |
No.410 出会い
|
ユーザー |
![]() |
提出日時 | 2017-07-04 11:39:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 218 bytes |
コンパイル時間 | 785 ms |
コンパイル使用メモリ | 64,084 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-05 15:01:26 |
合計ジャッジ時間 | 1,476 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 18 WA * 1 |
ソースコード
#include <iostream> using namespace std; int main(){ int px = 0, py = 0; int qx = 0, qy = 0; cin >> px >> py; cin >> qx >> qy; cout << ( abs(px - qx) + abs(py - qy) ) * 0.5 << endl; return 0; }