結果

問題 No.2722 Kenken Fight
ユーザー ShirotsumeShirotsume
提出日時 2024-04-12 21:26:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 350 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 82,320 KB
実行使用メモリ 77,372 KB
最終ジャッジ日時 2024-04-12 21:26:36
合計ジャッジ時間 1,922 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
55,596 KB
testcase_01 AC 77 ms
77,320 KB
testcase_02 AC 85 ms
77,348 KB
testcase_03 AC 87 ms
77,372 KB
testcase_04 AC 84 ms
77,052 KB
testcase_05 AC 89 ms
77,160 KB
testcase_06 AC 110 ms
77,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, time, random
from collections import deque, Counter, defaultdict
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 61 - 1
mod = 998244353

def solve():
    n = ii()
    print('K' if n != 1 else 'P')
    
    
for _ in range(ii()):
    solve()
0