結果
| 問題 | 
                            No.208 王将
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hogeover30
                         | 
                    
| 提出日時 | 2015-10-31 03:17:41 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 178 bytes | 
| コンパイル時間 | 550 ms | 
| コンパイル使用メモリ | 57,640 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-13 06:13:24 | 
| 合計ジャッジ時間 | 1,415 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 21 WA * 2 | 
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
    int x, y, x2, y2;
    cin>>x>>y>>x2>>y2;
    cout<<max(x, y)+(x2==y2 and x2<=x and y2<=y)<<endl;
}
            
            
            
        
            
hogeover30