結果
問題 |
No.2721 "Don't say N" Game
|
ユーザー |
|
提出日時 | 2024-05-09 13:32:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 179 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 109 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-16 03:17:25 |
合計ジャッジ時間 | 1,239 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 |
ソースコード
T=int(input()) l=[] for i in range(T): cnt=0 n=int(input()) for j in range (n): if n%(j+1)==0: cnt+=1 #print(cnt) if(cnt%2==1): l.append('P') else: l.append('K') for i in range (T): print(l[i])