結果
| 問題 | No.1579 New Type of Nim |
| コンテスト | |
| ユーザー |
Kiri8128
|
| 提出日時 | 2021-07-02 22:54:44 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 121 bytes |
| 記録 | |
| コンパイル時間 | 171 ms |
| コンパイル使用メモリ | 82,816 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-06-29 12:47:30 |
| 合計ジャッジ時間 | 2,217 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 WA * 1 |
ソースコード
a, b = sorted([int(a) for a in input().split()])
if a == b or (a % 2 and b == a + 1):
print("Q")
else:
print("P")
Kiri8128