結果

問題 No.1412 Super Ryuo
ユーザー 👑 CleyL
提出日時 2021-12-17 01:10:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 63,904 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-14 01:15:20
合計ジャッジ時間 1,182 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int a,b,c,d;cin>>a>>b>>c>>d;
    cout << (abs(c-a)+abs(b-d) <= 3 || a==c || b==d ? 1 : 2) << endl;
}
0