In the first section of this function, you set up objects needed to create the report, like the width and height of the canvas, as well as padding variables.
在这个函数的第一部分中,您设置了创建报告需要的对象,比如画布的宽度和高度以及填充变量。
By the end of this section, you should have an application that looks like Figure 8, complete with remaining character count functionality.
在本小节完成之后,您的应用程序的外观将类似于图8,并且包含显示剩余字符数的功能。
Consult the demonstration video link in the Resources section for an example of what this can look like.
要获得演示示例,请参阅参考资料小节中的演示视频链接。
In binary search-- ah, there's that wonderful phrase, this is called a version of binary search just like you saw bin-- or bi-section methods, - when we were doing numerical things- in binary search, I need to keep track of the starting point and the ending point of the list I'm looking at.
就是当我们处理数字的时候,所称的二分检索,在二分法搜索中,我需要记录区间的开始点和尾点,初始化的时候就是-,问题输入的开始点和尾点,当我开始做测试的时候,我想要做的就是去取中值点。
应用推荐