結果
| 問題 |
No.2722 Kenken Fight
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-03 20:04:29 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 132 ms / 2,000 ms |
| コード長 | 322 bytes |
| コンパイル時間 | 3,729 ms |
| コンパイル使用メモリ | 250,092 KB |
| 最終ジャッジ日時 | 2025-02-21 10:49:13 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 6 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#include<atcoder/all>
using namespace atcoder;
using ll = long long;
ll n;
void solve(){
if(n==1){
cout<<"P"<<endl;
}else{
cout<<"K"<<endl;
}
}
signed main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
int T;
cin >> T;
while(T--){
cin >> n;
solve();
}
}