結果

問題 No.2725 Coprime Game 2
ユーザー rlangevinrlangevin
提出日時 2024-04-12 22:23:04
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 312 ms
コンパイル使用メモリ 82,604 KB
実行使用メモリ 76,424 KB
最終ジャッジ日時 2024-04-12 22:23:07
合計ジャッジ時間 2,102 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
54,104 KB
testcase_01 AC 37 ms
51,756 KB
testcase_02 AC 37 ms
53,728 KB
testcase_03 AC 92 ms
75,800 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

T = int(input())
for _ in range(T):
    N = int(input())
    if N == 2 or (N - 6) % 12 == 0 or N % 420 == 0:
        print("P")
    else:
        print("K")
0