結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-14 15:27:26 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 5,000 ms |
| コード長 | 484 bytes |
| コンパイル時間 | 373 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-19 08:00:47 |
| 合計ジャッジ時間 | 981 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
junken = {'goo': 0, 'choki': 1, 'paa': 2}
result =['Drew','Won','Lost']
N, K = map(int, input().split())
key = 0
if(N == junken['goo']):
if(K == junken['choki']):
key = 1
elif(K == junken['paa']):
key = 2
if(N == junken['choki']):
if(K == junken['paa']):
key = 1
elif(K == junken['goo']):
key = 2
if(N == junken['paa']):
if(K == junken['goo']):
key = 1
elif(K == junken['choki']):
key = 2
print(result[key])