結果

問題 No.809 かけ算
ユーザー nsore38088715nsore38088715
提出日時 2019-04-15 23:49:45
言語 PyPy2
(7.3.15)
結果
RE  
実行時間 -
コード長 216 bytes
コンパイル時間 456 ms
コンパイル使用メモリ 77,552 KB
実行使用メモリ 76,384 KB
最終ジャッジ日時 2023-10-22 06:53:56
合計ジャッジ時間 2,586 ms
ジャッジサーバーID
(参考情報)
judge9 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

c = raw_input()

tmp = int(c**0.5)
while True:
    tmp += 1
    tmp2 = c - tmp**2
    if int(tmp**0.5) == tmp**0.5:
        break
    tmp += 1

b = int(tmp**0.5)
a = int((c - b**2)**0.5)

print str(a) + ' ' + str(b)
0