結果
| 問題 | No.1579 New Type of Nim |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:19:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 109 bytes |
| 記録 | |
| コンパイル時間 | 203 ms |
| コンパイル使用メモリ | 82,280 KB |
| 実行使用メモリ | 54,264 KB |
| 最終ジャッジ日時 | 2025-03-20 21:20:11 |
| 合計ジャッジ時間 | 2,463 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 16 |
ソースコード
A, B = map(int, input().split())
if A == B:
print("Q")
else:
print("P" if (A + B) % 2 == 0 else "Q")
lam6er