結果
問題 |
No.2721 "Don't say N" Game
|
ユーザー |
![]() |
提出日時 | 2024-04-16 14:25:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 268 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-07 10:30:59 |
合計ジャッジ時間 | 1,067 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 5 |
ソースコード
import sympy T = int(input()) for t in T: N = int(input()) turn_needed = len(sympy.divisors(N)) if turn_needed%2 == 1: print("P") else: print("K")