結果

問題 No.2722 Kenken Fight
ユーザー MasKoaTS
提出日時 2023-10-04 11:24:38
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 1,510 ms
コンパイル使用メモリ 194,120 KB
最終ジャッジ日時 2025-02-17 04:15:14
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

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


int main(void){
    int t;  cin >> t;
    vector<ll> query(t);
    for(auto& n : query){
        cin >> n;
    }

    for(ll n : query){
        char ans = (n == 1) ? 'P' : 'K';
        cout << ans << endl;
    }

    return 0;
}
0