結果

問題 No.2722 Kenken Fight
ユーザー aaaaaaaaaa2230
提出日時 2024-04-12 22:32:54
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 359 bytes
コンパイル時間 2,804 ms
コンパイル使用メモリ 243,496 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-02 23:31:19
合計ジャッジ時間 4,435 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

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

    return 0;
}
0