240 发简信
IP属地:甘肃
  • Resize,w 360,h 240
    c++错题集

    答案是4次,n++的次数就是判断的次数循环 这题我选c,错误,答案是a。从c走进c++ 第8题 构造函数与折构函数构造函数又叫构造方法,主要用来...

  • 《你永远不会独行》 by 颜强

    颜强是一个足球记者,是一个阿森纳球迷,他以细腻的笔触写下了他在英国的关于足球的所见所闻。看完这本书,我才了解到何为“英国足球文化”。 1.文化的...

  • 怎样测试Python程序的时间复杂度

    timeit:Python标准库中自带的模块,是一个用来测试代码执行时间的模块。 Timer是测量小段代码执行速度的类,stmt参数是要测试的代...

  • Codility 9.1 MaxProfit [Maximum slice problem]

    Given a log of stock prices compute the maximum possible earning. 思路:这道题...

  • Codility 9.2 MaxSliceSum [Maximum slice problem]

    find a maximum sum of a compact subsequence of array elements. 思路:我们计算到每...

  • Codility 9.3 MaxDoubleSliceSum

    Find the maximal sum of any double slice. 参考资料:https://en.wikipedia.org/...

  • 面向对象程序设计方法以及类

    注:以下大部分内容来源于 coursera 课程《C++程序设计》基本概念: int的大小: 操作系统16位的时候,int 2字节,操作系统32...

  • 数组

    !!!数组是一种类型, int[], double[] 一维数组 变量:内存中的一块空间数组:内存中一块连续的空间 标识符,数组元素,元素下标,...

  • Codility 7.3 Nesting

    Determine whether a given string of parentheses (single type) is properl...

个人介绍
时间会流逝,光与影长存。