結果
問題 |
No.2725 Coprime Game 2
|
ユーザー |
|
提出日時 | 2024-04-12 22:25:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 496 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-10-02 23:26:59 |
合計ジャッジ時間 | 1,488 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 8 |
ソースコード
from math import gcd T = int(input()) for _ in range(T) : N = int(input()) fl = 2 while N % fl == 0 : fl += 1 print("K" if gcd(K, fl) == 1 else "P")