結果

問題 No.1129 Rating じゃんけん
ユーザー pypypymipypypymi
提出日時 2022-02-18 15:27:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 415 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 71,400 KB
最終ジャッジ日時 2023-09-11 18:12:05
合計ジャッジ時間 3,169 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,320 KB
testcase_01 AC 76 ms
71,124 KB
testcase_02 AC 76 ms
71,196 KB
testcase_03 AC 77 ms
70,996 KB
testcase_04 AC 76 ms
71,380 KB
testcase_05 AC 78 ms
71,280 KB
testcase_06 AC 77 ms
71,284 KB
testcase_07 AC 78 ms
71,152 KB
testcase_08 AC 75 ms
71,028 KB
testcase_09 AC 76 ms
71,392 KB
testcase_10 AC 77 ms
71,356 KB
testcase_11 AC 76 ms
71,312 KB
testcase_12 AC 77 ms
71,400 KB
testcase_13 AC 76 ms
71,280 KB
testcase_14 AC 78 ms
71,220 KB
testcase_15 AC 76 ms
71,284 KB
testcase_16 AC 77 ms
71,308 KB
testcase_17 AC 78 ms
71,032 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int,input().split())
if a>c:
    print("null")
elif a<c:
    print("tRue")
else:
    if b==0 and d==1:
        print("null")
    elif b==0 and d==2:
        print("tRue")
    elif b==1 and d==0:
        print("tRue")
    elif b==1 and d==2:
        print("null")
    elif b==2 and d==0:
        print("null")
    elif b==2 and d==1:
        print("tRue")
    else:
        print("Draw")
    
    
    
0