結果

問題 No.2722 Kenken Fight
ユーザー 乾麺乾麺
提出日時 2024-04-13 06:45:15
言語 C++23
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 747 bytes
コンパイル時間 4,150 ms
コンパイル使用メモリ 295,600 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-13 06:45:21
合計ジャッジ時間 6,141 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,812 KB
testcase_01 AC 107 ms
6,944 KB
testcase_02 AC 150 ms
6,940 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,a,b) for(int i=a;i<b;i++)
using vi = vector<int>; // intの1次元の型に vi という別名をつける
using vvi = vector<vi>; // intの2次元の型に vvi という別名をつける
using si =vector<char>;
using ssi =vector<si>;
//using mint = modint998244353;
const long long INF = 1e18;
//bit全探索 rep(i,0,1<<(n-1)){rep(j,0,n-1)if(I&(1<<j))}
//int a = s[0] - ‘0’;文字列から数字
//int a=atoi(s.c_str());
//“ABCDEFGHIJKLMNOPQRSTUVWXYZ"
//#define INF (long long)2e+18
const ll MOD=1e+7;

//printf("%.9f\n", ans);
int main() { ll t;
cin>>t;
rep(i,0,t){
	int n;
	cin>>n;

if(n==1)cout<<"P"<<endl;
else cout<<"K"<<endl;}
}
0