結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-05 06:12:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 5,000 ms |
| コード長 | 308 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-01 02:21:38 |
| 合計ジャッジ時間 | 974 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
first = input()
split_first = first.split()
a = int(split_first[0])
b = int(split_first[1])
if a == b:
print("Drew")
elif a == 0:
if b == 1:
print("Won")
else:
print("Lost")
elif a == 1:
if b == 2:
print("Won")
else:
print("Lost")
elif a == 2:
if b == 0:
print("Won")
else:
print("Lost")