結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2017-06-16 15:12:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 437 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-01 06:44:19 |
合計ジャッジ時間 | 957 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
first = input() split_first = first.split() N = int(split_first[0]) K = int(split_first[1]) if(N==K): print('Drew') else: if(N==0): if(K==1): print('Won') else: # K=2 print('Lost') elif(N==1): if(K==0): print('Lost') else: # K=2 print('Won') else: #N=2 if(K==0): print('Won') else: #K=1 print('Lost')