728x90
풀이
n개의 큐브의 변의 길이가 주어지고 큐브를 가득 채운 BAPC를 하나의 컨테이너에 가득 담는다고 할 때,
필요한 컨테이너의 변의 길이를 구하는 문제다.
n개의 큐브의 변의 길이에 대해 세 제곱 값을 구한 후
합에 대해 1/3제곱을 한 값을 출력하면 된다.
소스코드
출처
25991번: Lots of Liquid
You work at a warehouse that sells chemical products, where somebody just placed an order for all the Boron Acetate Phosphoric Carbonate (BAPC) that you have in store. This liquid is stored in many separate lots, in cube-shaped containers, but your client
www.acmicpc.net
728x90
'PS > Baekjoon Online Judge' 카테고리의 다른 글
[백준 26332] Buying in Bulk [Python] (0) | 2023.08.29 |
---|---|
[백준 26068] 치킨댄스를 추는 곰곰이를 본 임스 2 [Python] (0) | 2023.08.29 |
[백준 25932] Find the Twins [Python] (0) | 2023.08.29 |
[백준 28701] 세제곱의 합 [Python] (0) | 2023.08.21 |
[백준 25893] Majestic 10 [Python] (0) | 2023.08.20 |