結果
| 問題 |
No.2725 Coprime Game 2
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-10-04 18:17:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 852 ms / 2,000 ms |
| コード長 | 179 bytes |
| コンパイル時間 | 443 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-26 15:15:14 |
| 合計ジャッジ時間 | 4,940 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 8 |
ソースコード
R=range
P=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53]
for t in R(int(input())):
N,i=int(input()),0
while N%P[i]<1:i+=1
b=N<3
for j in R(2,P[i]):
if N%j:b=1
print("KP"[b])