結果

問題 No.300 平方数
ユーザー tookunn_1213tookunn_1213
提出日時 2016-01-25 23:40:52
言語 Python2
(2.7.18)
結果
AC  
実行時間 410 ms / 1,000 ms
コード長 141 bytes
コンパイル時間 51 ms
コンパイル使用メモリ 7,120 KB
実行使用メモリ 6,544 KB
最終ジャッジ日時 2023-10-21 15:01:02
合計ジャッジ時間 4,650 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
6,544 KB
testcase_01 AC 8 ms
6,544 KB
testcase_02 AC 9 ms
6,544 KB
testcase_03 AC 8 ms
6,544 KB
testcase_04 AC 8 ms
6,544 KB
testcase_05 AC 8 ms
6,544 KB
testcase_06 AC 9 ms
6,544 KB
testcase_07 AC 8 ms
6,544 KB
testcase_08 AC 10 ms
6,544 KB
testcase_09 AC 9 ms
6,544 KB
testcase_10 AC 10 ms
6,544 KB
testcase_11 AC 9 ms
6,544 KB
testcase_12 AC 9 ms
6,544 KB
testcase_13 AC 410 ms
6,544 KB
testcase_14 AC 9 ms
6,544 KB
testcase_15 AC 12 ms
6,544 KB
testcase_16 AC 9 ms
6,544 KB
testcase_17 AC 9 ms
6,544 KB
testcase_18 AC 9 ms
6,544 KB
testcase_19 AC 9 ms
6,544 KB
testcase_20 AC 21 ms
6,544 KB
testcase_21 AC 9 ms
6,544 KB
testcase_22 AC 9 ms
6,544 KB
testcase_23 AC 42 ms
6,544 KB
testcase_24 AC 73 ms
6,544 KB
testcase_25 AC 338 ms
6,544 KB
testcase_26 AC 112 ms
6,544 KB
testcase_27 AC 75 ms
6,544 KB
testcase_28 AC 322 ms
6,544 KB
testcase_29 AC 264 ms
6,544 KB
testcase_30 AC 28 ms
6,544 KB
testcase_31 AC 34 ms
6,544 KB
testcase_32 AC 31 ms
6,544 KB
testcase_33 AC 139 ms
6,544 KB
testcase_34 AC 357 ms
6,544 KB
testcase_35 AC 263 ms
6,544 KB
testcase_36 AC 103 ms
6,544 KB
testcase_37 AC 119 ms
6,544 KB
testcase_38 AC 13 ms
6,544 KB
testcase_39 AC 14 ms
6,544 KB
testcase_40 AC 14 ms
6,544 KB
testcase_41 AC 84 ms
6,544 KB
testcase_42 AC 10 ms
6,544 KB
testcase_43 AC 14 ms
6,544 KB
testcase_44 AC 16 ms
6,544 KB
testcase_45 AC 14 ms
6,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

X=long(raw_input())
Y,div=1,2
while(div * div <=X):
	count=0
	while(X%div==0):
		X/=div
		count+=1
	if count%2==1:Y*=div
	div+=1
print Y * X
0