結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-03 18:07:17 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 5,000 ms |
| コード長 | 431 bytes |
| 記録 | |
| コンパイル時間 | 430 ms |
| コンパイル使用メモリ | 20,832 KB |
| 実行使用メモリ | 15,368 KB |
| 最終ジャッジ日時 | 2026-05-29 00:52:28 |
| 合計ジャッジ時間 | 2,230 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
N, K = map(int, input().split())
# 0:グー 1:チョキ 2:パー
if N == 0:
if K == 0:
print("Drew")
if K == 1:
print("Won")
if K == 2:
print("Lost")
if N == 1:
if K == 0:
print("Lost")
if K == 1:
print("Drew")
if K == 2:
print("Won")
if N == 2:
if K == 0:
print("Won")
if K == 1:
print("Lost")
if K == 2:
print("Drew")