結果

問題 No.2722 Kenken Fight
ユーザー kokosei
提出日時 2024-04-13 14:04:41
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 615 ms
コンパイル使用メモリ 76,544 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-03 00:07:05
合計ジャッジ時間 1,220 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
using ll = long long;

ll N;
void solve(){
    cin >> N;
    cout << (N == 1 ? "P\n" : "K\n");
}
int main(void){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int t; cin >> t;
    while(t--)solve();
    return 0;
}
0