結果
| 問題 | No.2725 Coprime Game 2 |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-07-17 00:03:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 96,236 KB |
| 実行使用メモリ | 84,992 KB |
| 最終ジャッジ日時 | 2026-07-17 00:03:48 |
| 合計ジャッジ時間 | 2,462 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 WA * 5 |
ソースコード
from sys import stdin
input = stdin.readline
for _ in range(int(input())):
N = int(input())
if N == 2:
print("P")
elif N%6 == 0 and (N//6%2 == 1 or N%420 == 0):
print("P")
else:
print("K")
detteiuu