結果

問題 No.208 王将
ユーザー izryt(趣味)
提出日時 2016-01-15 12:32:40
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 156 bytes
コンパイル時間 1,336 ms
コンパイル使用メモリ 159,340 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-19 19:05:36
合計ジャッジ時間 1,807 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int x, y, x2, y2; cin >> x >> y >> x2 >> y2;

    cout << max(x, y) + (x2 == y2) << endl;
}
0