結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-22 23:32:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 5,000 ms |
| コード長 | 361 bytes |
| コンパイル時間 | 182 ms |
| コンパイル使用メモリ | 82,324 KB |
| 実行使用メモリ | 53,284 KB |
| 最終ジャッジ日時 | 2024-09-21 18:54:55 |
| 合計ジャッジ時間 | 1,163 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
N, K = map(int, input().split())
if N == K:
print("Drew")
else:
if N == 0:
if K == 1:
print("Won")
else:
print("Lost")
elif N == 1:
if K == 2:
print("Won")
else:
print("Lost")
else:
if K == 0:
print("Won")
else:
print("Lost")