結果
問題 |
No.208 王将
|
ユーザー |
![]() |
提出日時 | 2016-02-02 14:58:30 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 1,309 ms |
コンパイル使用メモリ | 159,044 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-21 20:02:27 |
合計ジャッジ時間 | 2,270 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 WA * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ long long x,y; cin >> x >> y; long long x2,y2; cin >> x2 >> y2; long long ans = max(x,y); if(x2 == y2) ans++; cout << ans << endl; return 0; }