結果

問題 No.2722 Kenken Fight
ユーザー MasKoaTS
提出日時 2023-09-19 22:05:33
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 161 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 1,588 ms
コンパイル使用メモリ 193,492 KB
最終ジャッジ日時 2025-02-16 23:35:03
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;


int main(){
    int t;  cin >> t;
    for(int i = 0; i < t; ++i){
        long long n;  cin >> n;
        if(n == 1){
            cout << 'P' << endl;
        }
        else{
            cout << 'K' << endl;
        }
    }

    return 0;
}
0