- 博客(4)
- 收藏
- 关注
原创 1011 World Cup Betting (20)(20 分)
1011 World Cup Betting (20)(20 分)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 battles for the W...
2018-08-14 10:41:40 415
原创 Eratosthenes筛法和Euler筛法
写在前面前段时间一直在准备期末考试,很长时间没有打理自己的博客,还好从这周开始,就是三周的小学期,时间还算富裕,争取找到之前的节奏,继续坚持下去!这两种素数的筛选方法,第一种方法在之前的博客中使用过,但是只是顺便的提了一下,这里加了一个Euler筛选法,相对于Eratosthenes筛选法,时间复杂度更低一些主要的参考文献:《线性筛法与积性函数》贾志鹏Eratosthenes筛法...
2018-08-14 09:47:02 2283
原创 1002 A+B for Polynomials (25)(25 分)
1002 A+B for Polynomials (25)(25 分)This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each lin...
2018-08-14 09:43:15 251
原创 1001 A+B Format (20)(20 分)
1001 A+B Format (20)(20 分)Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Inp...
2018-08-14 09:39:44 168
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人