結果
| 問題 |
No.375 立方体のN等分 (1)
|
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-06-05 11:52:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 183 bytes |
| コンパイル時間 | 623 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 17,696 KB |
| 最終ジャッジ日時 | 2024-10-08 15:21:04 |
| 合計ジャッジ時間 | 7,361 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 31 |
ソースコード
n = int(input()) yaku = [i for i in range(1,n+1) if n%i == 0] x = [a+b+n//(a*b)-3 for a in yaku if a**3 <= n for b in yaku if b >= a and n%(a*b) == 0 and a*b*b <= n] print(min(x),n-1)
compass19