結果

問題 No.300 平方数
ユーザー YamadaYamada
提出日時 2019-01-08 11:36:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 782 ms / 1,000 ms
コード長 138 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 44,424 KB
最終ジャッジ日時 2024-04-27 18:10:26
合計ジャッジ時間 28,691 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 444 ms
44,152 KB
testcase_01 AC 453 ms
43,892 KB
testcase_02 AC 667 ms
44,152 KB
testcase_03 AC 443 ms
44,160 KB
testcase_04 AC 458 ms
44,164 KB
testcase_05 AC 471 ms
44,284 KB
testcase_06 AC 442 ms
44,164 KB
testcase_07 AC 450 ms
44,424 KB
testcase_08 AC 441 ms
44,024 KB
testcase_09 AC 455 ms
44,024 KB
testcase_10 AC 453 ms
44,424 KB
testcase_11 AC 458 ms
44,044 KB
testcase_12 AC 456 ms
43,916 KB
testcase_13 AC 782 ms
44,028 KB
testcase_14 AC 463 ms
43,892 KB
testcase_15 AC 447 ms
44,288 KB
testcase_16 AC 608 ms
44,300 KB
testcase_17 AC 461 ms
44,288 KB
testcase_18 AC 480 ms
44,036 KB
testcase_19 AC 566 ms
43,896 KB
testcase_20 AC 510 ms
44,024 KB
testcase_21 AC 760 ms
44,164 KB
testcase_22 AC 730 ms
44,040 KB
testcase_23 AC 692 ms
44,008 KB
testcase_24 AC 628 ms
44,152 KB
testcase_25 AC 699 ms
43,920 KB
testcase_26 AC 680 ms
43,904 KB
testcase_27 AC 612 ms
44,024 KB
testcase_28 AC 678 ms
44,036 KB
testcase_29 AC 735 ms
44,032 KB
testcase_30 AC 734 ms
44,160 KB
testcase_31 AC 742 ms
44,044 KB
testcase_32 AC 623 ms
44,048 KB
testcase_33 AC 544 ms
44,164 KB
testcase_34 AC 708 ms
43,912 KB
testcase_35 AC 633 ms
43,912 KB
testcase_36 AC 649 ms
44,288 KB
testcase_37 AC 616 ms
44,304 KB
testcase_38 AC 653 ms
43,912 KB
testcase_39 AC 685 ms
44,040 KB
testcase_40 AC 638 ms
44,288 KB
testcase_41 AC 545 ms
44,028 KB
testcase_42 AC 623 ms
44,424 KB
testcase_43 AC 725 ms
44,040 KB
testcase_44 AC 683 ms
44,288 KB
testcase_45 AC 561 ms
44,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
X =int(input())
M =int(np.sqrt(X))
for i in range(-M,0):
    if X %(i**2) == 0:
        print(X//(i**2))
        break
0