結果
問題 |
No.300 平方数
|
ユーザー |
![]() |
提出日時 | 2015-12-05 02:12:11 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 165 bytes |
コンパイル時間 | 158 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-14 14:14:53 |
合計ジャッジ時間 | 4,007 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 WA * 34 |
ソースコード
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