結果

問題 No.1129 Rating じゃんけん
ユーザー shiomusubi496
提出日時 2020-08-17 09:19:59
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 1,443 ms
コンパイル使用メモリ 166,128 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-11 10:51:16
合計ジャッジ時間 2,102 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
    int A,B,C,D;
    cin>>A>>B>>C>>D;
    if(A>C)puts("null");
    else if(A<C) puts("tRue");
    else if((B+1)%3==D)puts("null");
    else if((D+1)%3==B)puts("tRue");
    else puts("Draw");
}
0