結果

問題 No.1129 Rating じゃんけん
ユーザー YU Hirose
提出日時 2024-06-18 22:11:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 82,404 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-06-18 22:11:24
合計ジャッジ時間 2,300 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#    1:gu choki   pa
g = [[ -1,    0,   1], # 2:gu
     [  1,   -1,   0], # 2:choki
     [  0,    1,  -1]] # 2:pa

a, b, c, d = map(int, input().split())
if a != c:
    print("null" if a > c else "tRue")
else:
    if g[d][b] == -1:
        print("Draw")
    elif g[d][b] == 1:
        print("null")
    elif g[d][b] == 0:
        print("tRue")
0