結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2019-08-14 18:21:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 5,000 ms |
コード長 | 362 bytes |
コンパイル時間 | 69 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-19 14:32:20 |
合計ジャッジ時間 | 819 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
A = input() A_split = A.split() A = [int(A_split[0]), int(A_split[1])] if A[0] == A[1]: print("Drew") elif A[0] == 0: if A[1] == 1: print("Won") else: print("Lost") elif A[0] == 1: if A[1] == 2: print("Won") else: print("Lost") else: if A[1] == 0: print("Won") else: print("Lost")