結果
| 問題 |
No.1063 ルートの計算 / Sqrt Calculation
|
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-11-24 20:59:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 272 bytes |
| コンパイル時間 | 104 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-23 18:47:17 |
| 合計ジャッジ時間 | 1,456 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
import math int_first = int(input()) numer = int(math.sqrt(int_first)+1) while numer > 0: numer_double = int(numer*numer) if int_first%numer_double==0: sho = int(int_first/numer_double) result = str(int(numer))+" "+str(sho) break numer = numer -1 print(result)
StarMatyan