結果
| 問題 | No.1579 New Type of Nim |
| コンテスト | |
| ユーザー |
Kiri8128
|
| 提出日時 | 2021-07-02 22:55:51 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 65 ms / 2,000 ms |
| + 676µs | |
| コード長 | 110 bytes |
| 記録 | |
| コンパイル時間 | 262 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-08-23 19:25:10 |
| 合計ジャッジ時間 | 4,278 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 31 |
ソースコード
a, b = sorted([int(a) for a in input().split()])
if a % 2 and (b < a + 2):
print("Q")
else:
print("P")
Kiri8128