結果

問題 No.300 平方数
ユーザー matriematrie
提出日時 2020-12-27 16:21:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 70 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-09 02:56:13
合計ジャッジ時間 9,783 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,624 KB
testcase_01 AC 32 ms
10,752 KB
testcase_02 AC 31 ms
10,624 KB
testcase_03 AC 30 ms
10,624 KB
testcase_04 AC 31 ms
10,752 KB
testcase_05 AC 30 ms
10,624 KB
testcase_06 AC 29 ms
10,624 KB
testcase_07 AC 30 ms
10,624 KB
testcase_08 WA -
testcase_09 AC 30 ms
10,624 KB
testcase_10 AC 30 ms
10,752 KB
testcase_11 AC 30 ms
10,624 KB
testcase_12 WA -
testcase_13 AC 511 ms
10,624 KB
testcase_14 WA -
testcase_15 AC 31 ms
10,624 KB
testcase_16 AC 246 ms
10,624 KB
testcase_17 AC 30 ms
10,624 KB
testcase_18 AC 30 ms
10,752 KB
testcase_19 AC 30 ms
10,752 KB
testcase_20 AC 62 ms
10,624 KB
testcase_21 AC 185 ms
10,752 KB
testcase_22 AC 88 ms
10,624 KB
testcase_23 WA -
testcase_24 AC 162 ms
10,624 KB
testcase_25 AC 415 ms
10,752 KB
testcase_26 AC 207 ms
10,752 KB
testcase_27 AC 110 ms
10,624 KB
testcase_28 AC 417 ms
10,624 KB
testcase_29 AC 461 ms
10,624 KB
testcase_30 AC 489 ms
10,624 KB
testcase_31 AC 68 ms
10,752 KB
testcase_32 AC 311 ms
10,624 KB
testcase_33 AC 185 ms
10,624 KB
testcase_34 AC 450 ms
10,752 KB
testcase_35 AC 307 ms
10,624 KB
testcase_36 AC 363 ms
10,752 KB
testcase_37 AC 296 ms
10,624 KB
testcase_38 WA -
testcase_39 AC 383 ms
10,624 KB
testcase_40 AC 339 ms
10,624 KB
testcase_41 AC 173 ms
10,624 KB
testcase_42 AC 121 ms
10,624 KB
testcase_43 WA -
testcase_44 AC 360 ms
10,752 KB
testcase_45 AC 206 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

y=int(input())
i=2
while i*i<=y:
	if y%(i*i)<1: y//=i*i
	i+=1
print(y)
0