結果
| 問題 |
No.1579 New Type of Nim
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-07-02 21:47:55 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 102 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 82,352 KB |
| 実行使用メモリ | 53,892 KB |
| 最終ジャッジ日時 | 2024-06-29 11:19:19 |
| 合計ジャッジ時間 | 2,529 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 WA * 5 |
ソースコード
a, b = map(int, input().split())
if a > b:
a, b = b, a
ans = 'PQ'[a + 1 == b and a % 2]
print(ans)
Kude