#B3627. Cube Root Floor
Cube Root Floor
Cube Root Floor
Given a positive integer \(n\), compute the cube root \(\sqrt[3]{n}\) and then take the floor of the result, i.e. find \(\lfloor \sqrt[3]{n} \rfloor\).
The floor of a number is the greatest integer less than or equal to that number.
inputFormat
The input consists of a single line containing a positive integer \(n\).
outputFormat
Output a single integer which is the floor of \(\sqrt[3]{n}\).
sample
1
1