結果

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

ソースコード

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 ? 1 : 2) << endl;
}
0