結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-14 15:27:26 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 484 bytes |
| 記録 | |
| コンパイル時間 | 547 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-13 15:58:32 |
| 合計ジャッジ時間 | 2,277 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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])