2023年7月12日
摘要: Type aliases Type aliases are defined by simple variable assignments: Url = str def retry(url: Url, retry_count: int) -> None: ... Note that we recomm 阅读全文
posted @ 2023-07-12 17:39 sakura010 阅读(81) 评论(0) 推荐(0)
摘要: 1. param@param 标记提供函数参数的名称、类型和描述。@param 标记要求您指定要记录的参数的名称。您还可以包括括在大括号中的参数类型和参数说明。参数类型可以是内置的 JavaScript 类型,例如字符串或对象,也可以是代码中另一个符号的 JSDoc namepath。e.g.只注释 阅读全文
posted @ 2023-07-12 17:31 sakura010 阅读(141) 评论(0) 推荐(0)
摘要: Java 1. StringBuffer 和 StringBuilder 类 和 String 类不同的是,StringBuffer 和 StringBuilder 类的对象能够被多次的修改,并且不产生新的未使用对象。 在使用 StringBuffer 类时,每次都会对 StringBuffer 对 阅读全文
posted @ 2023-07-12 15:57 sakura010 阅读(56) 评论(0) 推荐(0)
  2022年8月1日
摘要: 题目 To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - 阅读全文
posted @ 2022-08-01 21:28 sakura010 阅读(26) 评论(0) 推荐(0)
摘要: 题目 With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing 阅读全文
posted @ 2022-08-01 21:00 sakura010 阅读(28) 评论(0) 推荐(0)
摘要: 题目 Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 i 阅读全文
posted @ 2022-08-01 20:55 sakura010 阅读(23) 评论(0) 推荐(0)
摘要: 题目 This time, you are supposed to find A×B where A and B are two polynomials.Input Specification: Each input file contains one test case. Each case oc 阅读全文
posted @ 2022-08-01 20:52 sakura010 阅读(11) 评论(0) 推荐(0)
摘要: 题目 At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the d 阅读全文
posted @ 2022-08-01 20:50 sakura010 阅读(26) 评论(0) 推荐(0)
摘要: 题目 The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the e 阅读全文
posted @ 2022-08-01 14:24 sakura010 阅读(24) 评论(0) 推荐(0)
  2022年7月31日
摘要: 题目 Given a sequence of K integers { N1​, N2​, ..., NK​ }. A continuous subsequence is defined to be { Ni​, Ni+1​, ..., Nj​ } where 1≤i≤j≤K. The Maximu 阅读全文
posted @ 2022-07-31 18:32 sakura010 阅读(22) 评论(0) 推荐(0)