随笔分类 -  数论

摘要:前m大的数 Time Limit: 1000 MS Memory Limit: 32768 KB 64-bit integer IO format: %I64... 阅读全文
posted @ 2017-04-19 20:57 xushukui 阅读(337) 评论(0) 推荐(0) 编辑
摘要:There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules: ● a i ∈ 0,n0,n ● a i ≠ a j( i ≠ j ... 阅读全文
posted @ 2017-04-18 08:58 xushukui 阅读(181) 评论(0) 推荐(0) 编辑
摘要:Given the N integers, you have to find the maximum GCD (greatest common divisor) of every possible pair of these integers. Input The first lin... 阅读全文
posted @ 2017-03-22 12:26 xushukui 阅读(207) 评论(0) 推荐(0) 编辑
摘要:Problem Description A Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being both ... 阅读全文
posted @ 2017-03-17 13:29 xushukui 阅读(218) 评论(0) 推荐(0) 编辑
摘要:## Nearest Neighbor Search ##Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 1024 megabyt... 阅读全文
posted @ 2017-03-15 22:02 xushukui 阅读(177) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示