結果

問題 No.1579 New Type of Nim
ユーザー tassei903tassei903
提出日時 2021-07-02 21:37:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 390 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 71,732 KB
最終ジャッジ日時 2023-09-11 21:26:29
合計ジャッジ時間 4,179 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
70,944 KB
testcase_01 AC 70 ms
71,172 KB
testcase_02 AC 73 ms
71,100 KB
testcase_03 AC 71 ms
71,012 KB
testcase_04 AC 71 ms
71,168 KB
testcase_05 AC 71 ms
71,204 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 71 ms
70,980 KB
testcase_10 WA -
testcase_11 AC 70 ms
71,200 KB
testcase_12 AC 75 ms
71,104 KB
testcase_13 AC 70 ms
70,940 KB
testcase_14 AC 68 ms
71,048 KB
testcase_15 AC 69 ms
71,048 KB
testcase_16 AC 70 ms
70,996 KB
testcase_17 AC 70 ms
71,000 KB
testcase_18 AC 70 ms
71,256 KB
testcase_19 AC 70 ms
71,168 KB
testcase_20 AC 68 ms
71,076 KB
testcase_21 AC 69 ms
71,260 KB
testcase_22 AC 70 ms
71,072 KB
testcase_23 AC 69 ms
70,920 KB
testcase_24 AC 70 ms
71,016 KB
testcase_25 AC 69 ms
70,892 KB
testcase_26 WA -
testcase_27 AC 70 ms
70,992 KB
testcase_28 AC 71 ms
71,220 KB
testcase_29 AC 70 ms
71,260 KB
testcase_30 AC 68 ms
71,076 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 69 ms
70,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
sys.setrecursionlimit(10**7)
yes = lambda :print("yes");Yes = lambda :print("Yes")
no = lambda :print("no");No = lambda :print("No")
#######################################################################
a,b = na()
if min(a,b)%2:
    print("Q")
else:
    print("P")
0