結果

問題 No.264 じゃんけん
ユーザー 👑 Kazun
提出日時 2020-05-31 02:30:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 5,000 ms
コード長 157 bytes
コンパイル時間 462 ms
コンパイル使用メモリ 82,400 KB
実行使用メモリ 53,384 KB
最終ジャッジ日時 2024-11-14 13:27:32
合計ジャッジ時間 1,280 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

def d(N,K,r):
    return (N-K)%r

N,K=map(int,input().split())

if d(N,K,3)==0:
    print("Drew")
elif d(N,K,3)==1:
    print("Lost")
else:
    print("Won")
0