Problem A. A Math Problem

时间限制 2 ms   内存限制 32 MB

You are given a positive integer n, please count how many positive integers k satisfy $k^k \leq n$.
 

输入数据

There are no more than 50 test cases.

Each case only contains a positivse integer n in a line.

$1 \leq n \leq 10^{18}$
 

输出数据

For each test case, output an integer indicates the number of positive integers k satisfy $k^k \leq n$ in a line.
 

样例输入

复制
1
4

样例输出

复制
1
2

提交

请先 登录

© 2025 FAQs Contact About