結果

問題 No.1129 Rating じゃんけん
ユーザー とんかつ
提出日時 2021-04-03 00:18:25
言語 Python3
(3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 24 ms / 2,000 ms
+ 569µs
コード長 360 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 788 ms
コンパイル使用メモリ 14,592 KB
実行使用メモリ 11,392 KB
最終ジャッジ日時 2026-10-15 20:04:00
合計ジャッジ時間 2,531 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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