上一页 1 2 3 4 5 6 ··· 26 下一页

2019年3月10日

UVA10054 UVALive2036 The Necklace【欧拉回路】

摘要: My little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. T 阅读全文

posted @ 2019-03-10 09:30 新海岛Blog 阅读(128) 评论(0) 推荐(0) 编辑

POJ1420 HDU1659 UVA196 UVALive5606 Spreadsheet【DFS】

摘要: "Spreadsheet" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 896 Accepted: 418 Description In 1979, Dan Bricklin and Bob Frankston wrote V 阅读全文

posted @ 2019-03-10 01:10 新海岛Blog 阅读(181) 评论(0) 推荐(1) 编辑

2019年3月6日

UVA216 UVALive5155 Getting in Line【置换+回溯】

摘要: Computer networking requires that the computers in the network be linked.     This problem considers a “linear” network in which t 阅读全文

posted @ 2019-03-06 14:41 新海岛Blog 阅读(94) 评论(0) 推荐(0) 编辑

2019年3月4日

UVA10994 Simple Addition【前缀和】

摘要: Lets define a simple recursive function F(n), where     Lets define another function S(p, q),     In this prob 阅读全文

posted @ 2019-03-04 12:04 新海岛Blog 阅读(269) 评论(0) 推荐(0) 编辑

UVA11029 Leading and Trailing【快速模幂+数学】

摘要: Apart from the novice programmers, all others know that you can’t exactly represent numbers raised to some high power. For example, the C function pow 阅读全文

posted @ 2019-03-04 10:51 新海岛Blog 阅读(98) 评论(0) 推荐(0) 编辑

2019年3月2日

UVA10791 Minimum Sum LCM【唯一分解定理】

摘要: LCM (Least Common Multiple) of a set of integers is defined as the minimum number, which is a multiple of all integers of that set. It is interesting 阅读全文

posted @ 2019-03-02 23:48 新海岛Blog 阅读(112) 评论(0) 推荐(0) 编辑

UVA11121 Base -2【-2进制】

摘要: The creator of the universe works in mysterious ways. But he uses a base ten counting system and likes round numbers. Scott Adams Everyone knows about 阅读全文

posted @ 2019-03-02 19:55 新海岛Blog 阅读(89) 评论(0) 推荐(0) 编辑

UVA10673 Play with Floor and Ceil【暴力枚举】

摘要:      Theorem     For any two integers x and k there exists two more integers p and q such that:   &n 阅读全文

posted @ 2019-03-02 19:12 新海岛Blog 阅读(119) 评论(0) 推荐(0) 编辑

POJ1305 HDU1615 UVA106 Fermat vs. Pythagoras【毕达哥拉斯三角形+暴力】

摘要: "Fermat vs. Pythagoras" Time Limit: 2000MS Memory Limit: 10000K Total Submissions: 1739 Accepted: 1021 Description Computer generated and assisted pro 阅读全文

posted @ 2019-03-02 15:18 新海岛Blog 阅读(116) 评论(0) 推荐(0) 编辑

UVA131 HDU1629 The Psychic Poker Player【暴力】

摘要: "The Psychic Poker Player" Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 255 Accepted Submissi 阅读全文

posted @ 2019-03-02 09:21 新海岛Blog 阅读(436) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 26 下一页

导航

// ... runAll: function() { this.resetPreCode(); hljs.initHighlightingOnLoad(); // 重新渲染,添加语法高亮 hljs.initLineNumbersOnLoad(); // 为代码加上行号 } // ...