結果

問題 No.1129 Rating じゃんけん
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-08-25 08:54:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 435 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 53,300 KB
最終ジャッジ日時 2024-04-27 19:41:02
合計ジャッジ時間 1,769 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
51,700 KB
testcase_01 AC 33 ms
51,872 KB
testcase_02 AC 34 ms
52,676 KB
testcase_03 AC 32 ms
52,908 KB
testcase_04 AC 32 ms
53,300 KB
testcase_05 AC 33 ms
52,480 KB
testcase_06 AC 32 ms
52,624 KB
testcase_07 AC 32 ms
53,036 KB
testcase_08 AC 33 ms
52,572 KB
testcase_09 AC 32 ms
52,088 KB
testcase_10 AC 33 ms
53,016 KB
testcase_11 AC 35 ms
51,956 KB
testcase_12 AC 33 ms
52,404 KB
testcase_13 AC 35 ms
52,268 KB
testcase_14 AC 32 ms
52,068 KB
testcase_15 AC 34 ms
52,828 KB
testcase_16 AC 32 ms
51,968 KB
testcase_17 AC 31 ms
52,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int,input().split())
if a > c:
    print("null")
elif a < c:
    print("tRue")
else:
    if b == d:
        print("Draw")
    elif 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")
0