結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2016-02-12 01:57:44 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 5,000 ms |
コード長 | 273 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-22 04:02:57 |
合計ジャッジ時間 | 867 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
raw = input() battle = raw.split() me = int(battle[0]) player = int(battle[1]) if me == player: print("Drew") elif me < player: if me == 0 and player == 2: print("Lost") else: print("Won") else: if me == 2 and player == 0: print("Won") else: print("Lost")