結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー pypypymipypypymi
提出日時 2022-02-01 10:35:47
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 196 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 87,272 KB
実行使用メモリ 81,124 KB
最終ジャッジ日時 2023-09-02 02:29:05
合計ジャッジ時間 5,013 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
76,220 KB
testcase_01 AC 68 ms
71,796 KB
testcase_02 AC 65 ms
71,864 KB
testcase_03 AC 71 ms
76,248 KB
testcase_04 AC 72 ms
71,116 KB
testcase_05 AC 72 ms
76,152 KB
testcase_06 AC 130 ms
76,744 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
root_n = int(n**0.5)+1
for b in range(1,n+1):
    for a in range(1,root_n+1):
        if n==(a**2)*b:
            print(a,b)
            break
    else:
        continue
    break
0