結果
問題 | No.300 平方数 |
ユーザー |
![]() |
提出日時 | 2015-12-05 02:13:23 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 315 ms / 1,000 ms |
コード長 | 167 bytes |
コンパイル時間 | 242 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-09-14 14:15:11 |
合計ジャッジ時間 | 3,957 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 43 |
ソースコード
from math import sqrt x = input() y = 1 i = 2 while i<=sqrt(x): c = 0 while x%i<1: c ^= 1 x /= i if c: y *= i i += 1 print y*x