結果

問題 No.1129 Rating じゃんけん
ユーザー kkkk97368086
提出日時 2021-11-24 18:01:04
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 620 bytes
コンパイル時間 1,603 ms
コンパイル使用メモリ 164,940 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 03:51:50
合計ジャッジ時間 2,492 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 11 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    int a,b,c,d;
    cin >> a >> b >> c >> d;
    if(a > c) cout << "null" << endl;
    else if(c < a) cout << "tRue" << endl;
    else{
        if(b == d) cout << "Draw" << endl;
        else if(b==0){
            if(d==1) cout << "null" << endl;
            else if(d==2) cout << "tRue" << endl;
        }
        else if(b==1){
            if(d==0) cout << "tRue" << endl;
            else if(d==2) cout << "null" << endl;
        }
        else{
            if(d==0) cout << "null" << endl;
            else if(d==1) cout << "tRue" << endl;
        }
    }
}
0