結果
問題 |
No.208 王将
|
ユーザー |
![]() |
提出日時 | 2015-07-26 17:20:52 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 158 bytes |
コンパイル時間 | 545 ms |
コンパイル使用メモリ | 53,336 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 16:26:38 |
合計ジャッジ時間 | 1,375 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
#include <iostream> using namespace std; int main() {int x, y, xx, yy; cin >> x >> y >> xx >> yy;cout << max(x, y) + (x == y && xx == yy && xx < x);return 0;}