上一页 1 ··· 7 8 9 10 11 12 13 下一页
  2022年8月15日
摘要: 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 occu 阅读全文
posted @ 2022-08-15 00:01 Coder何 阅读(42) 评论(0) 推荐(0)
  2022年8月14日
摘要: 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 Maximum S 阅读全文
posted @ 2022-08-14 23:13 Coder何 阅读(30) 评论(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 door 阅读全文
posted @ 2022-08-14 22:22 Coder何 阅读(27) 评论(0) 推荐(0)
  2022年8月8日
摘要: memset函数对数组中的每一个元素的每个字节进行初始化,一般的int数组中每个元素有四个字节,所以memset(a,0x3f,sizeof(a))其实是把每个元素置成0x3f3f3f3f 对于一般的int数组,在使用memset进行初始化时,有以下几种常见情况 1.置0 memset(a, 0, 阅读全文
posted @ 2022-08-08 18:55 Coder何 阅读(425) 评论(0) 推荐(0)
摘要: As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro 阅读全文
posted @ 2022-08-08 17:59 Coder何 阅读(45) 评论(0) 推荐(0)
  2022年7月24日
摘要: 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 occu 阅读全文
posted @ 2022-07-24 22:01 Coder何 阅读(36) 评论(0) 推荐(0)
  2022年7月10日
摘要: Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins 阅读全文
posted @ 2022-07-10 23:27 Coder何 阅读(23) 评论(0) 推荐(0)
摘要: Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe 阅读全文
posted @ 2022-07-10 22:45 Coder何 阅读(19) 评论(0) 推荐(0)
摘要: To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords 阅读全文
posted @ 2022-07-10 22:31 Coder何 阅读(27) 评论(0) 推荐(0)
  2022年6月6日
摘要: Given any string of N (≥5) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l 阅读全文
posted @ 2022-06-06 10:55 Coder何 阅读(86) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页