結果
| 問題 |
No.2721 "Don't say N" Game
|
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-04-12 21:22:37 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 115 bytes |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-02 22:55:43 |
| 合計ジャッジ時間 | 634 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 |
ソースコード
from math import isqrt
for _ in range(int(input())):
n = int(input())
print("P" if isqrt(n)**2==n else "K")
ニックネーム