結果

問題 No.300 平方数
ユーザー YamadaYamada
提出日時 2019-01-08 11:35:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 78,532 KB
最終ジャッジ日時 2024-05-03 03:41:00
合計ジャッジ時間 34,757 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 542 ms
43,912 KB
testcase_01 AC 510 ms
43,904 KB
testcase_02 AC 741 ms
43,904 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 507 ms
43,648 KB
testcase_08 AC 505 ms
43,912 KB
testcase_09 AC 508 ms
44,008 KB
testcase_10 AC 508 ms
43,776 KB
testcase_11 AC 510 ms
43,528 KB
testcase_12 AC 510 ms
44,044 KB
testcase_13 WA -
testcase_14 AC 528 ms
44,172 KB
testcase_15 AC 511 ms
44,108 KB
testcase_16 WA -
testcase_17 AC 507 ms
43,648 KB
testcase_18 AC 536 ms
43,756 KB
testcase_19 AC 631 ms
43,892 KB
testcase_20 AC 577 ms
43,776 KB
testcase_21 AC 846 ms
44,048 KB
testcase_22 AC 817 ms
44,044 KB
testcase_23 AC 793 ms
44,164 KB
testcase_24 AC 699 ms
44,044 KB
testcase_25 WA -
testcase_26 AC 762 ms
43,896 KB
testcase_27 AC 678 ms
43,920 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 882 ms
44,292 KB
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 728 ms
44,160 KB
testcase_39 WA -
testcase_40 WA -
testcase_41 WA -
testcase_42 AC 708 ms
43,908 KB
testcase_43 AC 808 ms
43,912 KB
testcase_44 WA -
testcase_45 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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