結果
| 問題 |
No.1412 Super Ryuo
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-07-12 22:14:20 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 3,068 ms |
| コンパイル使用メモリ | 242,428 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-23 20:18:05 |
| 合計ジャッジ時間 | 3,710 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int A,B,C,D;
cin>>A>>B>>C>>D;
if(A == C || B == D) cout<<0<<endl;
else if((abs(A-C)+abs(B-D) <= 3)||(A == C || B == D)) cout<<1<<endl;
else cout<<2<<endl;
}
keisuke6