結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-19 23:03:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 5,000 ms |
| コード長 | 333 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-06-28 14:30:56 |
| 合計ジャッジ時間 | 858 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
#ぐー, ちょき, ぱーをそれぞれ 0, 1, 2
zibun,aite=map(int,input().split())
#引き分け
if zibun==aite:
print("Drew")
#勝つパターン
elif zibun==0 and aite==1:
print("Won")
elif zibun==1 and aite==2:
print("Won")
elif zibun==2 and aite==0:
print("Won")
#負けるパターン
else:
print("Lost")