結果
| 問題 | No.1579 New Type of Nim | 
| コンテスト | |
| ユーザー |  gew1fw | 
| 提出日時 | 2025-06-12 15:37:43 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 77 bytes | 
| コンパイル時間 | 160 ms | 
| コンパイル使用メモリ | 82,636 KB | 
| 実行使用メモリ | 54,100 KB | 
| 最終ジャッジ日時 | 2025-06-12 15:38:23 | 
| 合計ジャッジ時間 | 2,512 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 WA * 6 | 
ソースコード
A, B = map(int, input().split())
d = abs(A - B)
print('Q' if d <= 1 else 'P')
            
            
            
        