結果
| 問題 | No.1063 ルートの計算 / Sqrt Calculation |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-01 10:35:47 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 85,800 KB |
| 実行使用メモリ | 121,552 KB |
| 最終ジャッジ日時 | 2026-03-04 11:14:14 |
| 合計ジャッジ時間 | 28,634 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 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