結果
| 問題 | No.1063 ルートの計算 / Sqrt Calculation |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-01 10:35:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 82,532 KB |
| 実行使用メモリ | 68,924 KB |
| 最終ジャッジ日時 | 2024-06-11 09:08:19 |
| 合計ジャッジ時間 | 4,257 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 TLE * 1 -- * 9 |
ソースコード
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