結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー 👑 NachiaNachia
提出日時 2021-05-03 15:05:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 8,188 KB
最終ジャッジ日時 2023-09-29 11:18:28
合計ジャッジ時間 1,209 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,184 KB
testcase_01 AC 21 ms
8,184 KB
testcase_02 AC 21 ms
8,188 KB
testcase_03 AC 19 ms
8,152 KB
testcase_04 AC 23 ms
8,088 KB
testcase_05 AC 20 ms
8,036 KB
testcase_06 AC 21 ms
8,116 KB
testcase_07 AC 23 ms
8,092 KB
testcase_08 AC 21 ms
8,104 KB
testcase_09 AC 20 ms
8,188 KB
testcase_10 AC 20 ms
8,140 KB
testcase_11 AC 20 ms
8,096 KB
testcase_12 AC 21 ms
8,048 KB
testcase_13 AC 21 ms
8,116 KB
testcase_14 AC 20 ms
8,108 KB
testcase_15 AC 22 ms
8,144 KB
testcase_16 AC 20 ms
8,100 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
for i in range(40000,0,-1):
  if n%(i*i) == 0:
    print(i,n//(i*i))
    exit()
0