結果
問題 | No.264 じゃんけん |
ユーザー |
|
提出日時 | 2023-01-18 06:37:01 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 308 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-11 09:57:06 |
合計ジャッジ時間 | 850 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
x,y=map(int,input().split()) if x-y==0: print("Drew") elif x==0 and x-y==-1: print("Won") elif x==0 and x-y==-2: print("Lost") elif x==1 and x-y==-1: print("Won") elif x==1 and x-y==1: print("Lost") elif x==2 and x-y==2: print("Won") else: print("Lost")