結果
| 問題 | No.375 立方体のN等分 (1) |
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-06-05 11:52:35 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-09-12 03:35:06 |
| 合計ジャッジ時間 | 9,432 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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