摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the 阅读全文
posted @ 2018-06-21 21:51 Cirno-9 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the 阅读全文
posted @ 2018-06-19 20:27 Cirno-9 阅读(129) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-06-18 17:52 Cirno-9 阅读(7) 评论(0) 推荐(0) 编辑
摘要: https://wizardforcel.gitbooks.io/the-art-of-programming-by-july/content/ 阅读全文
posted @ 2018-06-17 23:19 Cirno-9 阅读(73) 评论(0) 推荐(0) 编辑
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number 阅读全文
posted @ 2018-06-17 22:02 Cirno-9 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #include #include struct bign { int d[21], len; bign() { memset(d, 0, sizeof(d)); len = 0; } }; bign change(char str[]) { bign a; a.len = strlen(str); for (int... 阅读全文
posted @ 2018-06-16 17:24 Cirno-9 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include #include struct bign { int d[1010], len; bign() { memset(d, 0, sizeof(d)); len = 0; } }; bign change(char str[]) { bign a; a.len = strlen(str); for (... 阅读全文
posted @ 2018-06-16 16:15 Cirno-9 阅读(141) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-06-15 23:18 Cirno-9 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3*5*6*7, where 5, 6, a 阅读全文
posted @ 2018-06-12 22:51 Cirno-9 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p~1~\^k~1~ * p~2~\^k~2~ *…*p~m~\^k~m 阅读全文
posted @ 2018-06-12 16:00 Cirno-9 阅读(138) 评论(0) 推荐(0) 编辑