結果
| 問題 |
No.809 かけ算
|
| コンテスト | |
| ユーザー |
nsore38088715
|
| 提出日時 | 2019-04-15 23:49:45 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 216 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 76,680 KB |
| 実行使用メモリ | 76,020 KB |
| 最終ジャッジ日時 | 2024-09-22 08:08:07 |
| 合計ジャッジ時間 | 1,969 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 6 |
ソースコード
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)
nsore38088715