Problem Description You are given a positive integer n, please count how many positive integers k satisfy kk≤n .
Input There are no more than 50 test cases.
Output For each test case, output an integer indicates the number of positive integers k satisfy kk≤n in a line.
Sample Input 1 4
Sample Output 1 2
Source 解题思路:思考后会发现15^15就已经会爆long long 了,所以直接暴力求解1-15中符合条件的就欧克 ac代码:
|
【HDU - 6182】【A Math Problem 】
最新推荐文章于 2021-04-19 10:39:53 发布