您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. Untitled3.cpp

  2. 本题要求实现一个用递归计算1+2+3+…+n的和的简单函数。 函数接口定义: int sum( int n ); 该函数对于传入的正整数n返回1+2+3+…+n的和;若n不是正整数则返回0。题目保证输入输出在长整型范围内。建议尝试写成递归函数
  3. 所属分类:C/C++

    • 发布日期:2019-09-08
    • 文件大小:134byte
    • 提供者:zjh246890
  1. Untitled3.cpp

  2. FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in a line and herds them past the judges. The contest organizers adopted a new registration scheme this year
  3. 所属分类:C/C++

    • 发布日期:2020-03-25
    • 文件大小:717byte
    • 提供者:weixin_46250672
  1. Untitled3.cpp

  2. 补充了猴子吃桃的递归写法
  3. 所属分类:C/C++

    • 发布日期:2020-03-11
    • 文件大小:242byte
    • 提供者:weixin_46250672