結果
| 問題 |
No.1579 New Type of Nim
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 15:52:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 138 bytes |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 81,640 KB |
| 実行使用メモリ | 53,620 KB |
| 最終ジャッジ日時 | 2025-04-16 15:52:55 |
| 合計ジャッジ時間 | 2,191 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 16 |
ソースコード
A, B = map(int, input().split())
if A == B:
print("Q")
else:
if (A + B) % 2 == 0:
print("P")
else:
print("Q")
lam6er