結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
smiken_61
|
| 提出日時 | 2015-10-23 15:55:02 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 428 ms |
| コンパイル使用メモリ | 84,296 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-04-03 08:52:01 |
| 合計ジャッジ時間 | 1,150 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 WA * 2 |
ソースコード
#include <iostream>
#include <algorithm>
#include <stdlib.h>
#include <string>
#include <queue>
using namespace std;
int main() {
int gx,gy,jy,jx;
cin>>gx>>gy;
cin>>jx>>jy;
int ans=max(gx,gy);
if(gx==gy && jx==jy) ans++;
cout<<ans<<endl;
return 0;
}
smiken_61