zoukankan      html  css  js  c++  java
  • hdu 6182

    A Math Problem

    Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
    Total Submission(s): 88    Accepted Submission(s): 45


    Problem Description
    You are given a positive integer n, please count how many positive integers k satisfy kkn.
     
    Input
    There are no more than 50 test cases.

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

    1n1018
     
    Output
    For each test case, output an integer indicates the number of positive integers k satisfy kkn in a line.
     
    Sample Input
    1 4
     
    Sample Output
    1 2
     

    数据就那么几个 打一下表就可以了

    A Math Problem
    
    Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
    Total Submission(s): 88    Accepted Submission(s): 45
    
    
    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.
    
    Each case only contains a positivse integer n in a line.
    
    1≤n≤1018
     
    
    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
    2017ACM/ICPC广西邀请赛-重现赛(感谢广西大学)
     
  • 相关阅读:
    TCP 和 UDP 的区别
    python--各种锁机制归纳整理
    七牛的配置
    全文检索的配置
    记一则css3计算
    C# 生成序号不足补0
    JavaScript Post提交数据并跳转到页面(模拟Form表单提交)
    Swift 修改UITextField.Placeholder颜色
    Swift 延迟运行代码
    Swift 动画片段
  • 原文地址:https://www.cnblogs.com/z1141000271/p/7459908.html
Copyright © 2011-2022 走看看