結果
| 問題 |
No.300 平方数
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-13 23:18:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 173 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 17,564 KB |
| 最終ジャッジ日時 | 2024-09-13 15:13:50 |
| 合計ジャッジ時間 | 3,828 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 TLE * 1 -- * 25 |
ソースコード
X = int(input())
res = 1
i = 2
while X != 1:
cnt = 0
while X % i == 0:
X //= i
cnt += 1
if cnt % 2 == 1:
res *= i
i += 1
print(res)