結果
問題 |
No.2721 "Don't say N" Game
|
ユーザー |
|
提出日時 | 2025-05-23 16:16:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 120 bytes |
コンパイル時間 | 305 ms |
コンパイル使用メモリ | 82,776 KB |
実行使用メモリ | 69,148 KB |
最終ジャッジ日時 | 2025-05-23 16:16:05 |
合計ジャッジ時間 | 1,627 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 |
ソースコード
import math for i in range(int(input())): x = int(input()) if math.isqrt(x)**2 == x: print('P') else: print('K')