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 】
猜你喜欢
转载自blog.csdn.net/qq_42505741/article/details/81584089
今日推荐
周排行