結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
kotatsu
|
| 提出日時 | 2023-08-11 22:11:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 5,000 ms |
| コード長 | 384 bytes |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-18 16:36:52 |
| 合計ジャッジ時間 | 1,007 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
first = input().split()
A = int(first[0])
B = int(first[1])
if A == B:
print("Drew")
else:
if A == 0 and B == 1:
print("Won")
elif A ==0 and B == 2:
print("Lost")
elif A ==1 and B == 0:
print("Lost")
elif A ==1 and B == 2:
print("Won")
elif A ==2 and B == 0:
print("Won")
elif A ==2 and B == 1:
print("Lost")
kotatsu