結果
| 問題 | No.1579 New Type of Nim |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-31 17:23:36 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 82,348 KB |
| 実行使用メモリ | 54,260 KB |
| 最終ジャッジ日時 | 2025-03-31 17:23:54 |
| 合計ジャッジ時間 | 2,722 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 16 |
ソースコード
a, b = map(int, input().split())
if a == b:
print("Q")
else:
print("Q" if (a + b) % 2 else "P")
lam6er