結果

問題 No.300 平方数
ユーザー YamadaYamada
提出日時 2019-01-08 11:31:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 143 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 77,168 KB
最終ジャッジ日時 2023-12-20 00:15:16
合計ジャッジ時間 32,025 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 AC 449 ms
42,596 KB
testcase_02 AC 674 ms
42,596 KB
testcase_03 AC 448 ms
42,596 KB
testcase_04 AC 447 ms
42,596 KB
testcase_05 AC 446 ms
42,596 KB
testcase_06 AC 443 ms
42,596 KB
testcase_07 AC 445 ms
42,596 KB
testcase_08 AC 448 ms
42,596 KB
testcase_09 AC 447 ms
42,596 KB
testcase_10 AC 446 ms
42,596 KB
testcase_11 AC 445 ms
42,596 KB
testcase_12 AC 451 ms
42,596 KB
testcase_13 AC 764 ms
42,596 KB
testcase_14 AC 455 ms
42,596 KB
testcase_15 AC 445 ms
42,596 KB
testcase_16 AC 586 ms
42,596 KB
testcase_17 AC 445 ms
42,596 KB
testcase_18 AC 472 ms
42,596 KB
testcase_19 AC 568 ms
42,596 KB
testcase_20 AC 514 ms
42,596 KB
testcase_21 AC 766 ms
42,596 KB
testcase_22 AC 730 ms
42,596 KB
testcase_23 AC 713 ms
42,596 KB
testcase_24 AC 626 ms
42,596 KB
testcase_25 AC 705 ms
42,596 KB
testcase_26 AC 693 ms
42,596 KB
testcase_27 AC 611 ms
42,596 KB
testcase_28 AC 711 ms
42,596 KB
testcase_29 AC 735 ms
42,596 KB
testcase_30 AC 754 ms
42,596 KB
testcase_31 AC 747 ms
42,596 KB
testcase_32 AC 646 ms
42,596 KB
testcase_33 AC 550 ms
42,596 KB
testcase_34 AC 721 ms
42,596 KB
testcase_35 AC 627 ms
42,596 KB
testcase_36 AC 663 ms
42,596 KB
testcase_37 AC 627 ms
42,596 KB
testcase_38 AC 662 ms
42,596 KB
testcase_39 AC 690 ms
42,596 KB
testcase_40 AC 661 ms
42,596 KB
testcase_41 AC 543 ms
42,596 KB
testcase_42 AC 628 ms
42,596 KB
testcase_43 AC 732 ms
42,596 KB
testcase_44 AC 673 ms
42,596 KB
testcase_45 AC 553 ms
77,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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