結果

問題 No.2722 Kenken Fight
ユーザー MasKoaTSMasKoaTS
提出日時 2023-09-19 22:05:33
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 180 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 1,863 ms
コンパイル使用メモリ 197,644 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-10-04 11:20:37
合計ジャッジ時間 3,501 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 101 ms
4,376 KB
testcase_02 AC 149 ms
4,376 KB
testcase_03 AC 180 ms
4,380 KB
testcase_04 AC 159 ms
4,380 KB
testcase_05 AC 175 ms
4,376 KB
testcase_06 AC 177 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

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