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