上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页

2019年2月15日

POJ1430 ZOJ1385 UVA1118 UVALive2431 Binary Stirling Numbers【斯特林数】

摘要: "Binary Stirling Numbers" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 1971 Accepted: 794 Description The Stirling number of the second 阅读全文

posted @ 2019-02-15 09:38 新海岛Blog 阅读(140) 评论(0) 推荐(0)

UVA367 UVALive5251 Let Me Count The Ways【0/1背包】

摘要: After making a purchase at a large department store, Mel’s change was 17 cents. He received 1 dime, 1 nickel, and 2 pennies. Later that day, he was sh 阅读全文

posted @ 2019-02-15 08:49 新海岛Blog 阅读(254) 评论(0) 推荐(0)

UVA1062 UVALive3752 Containers【贪心】

摘要: A seaport container terminal stores large containers that are eventually loaded on seagoing ships for transport abroad. Containers coming to the termi 阅读全文

posted @ 2019-02-15 08:01 新海岛Blog 阅读(145) 评论(0) 推荐(0)

UVA11538 Chess Queen【组合】

摘要: You probably know how the game of chess is played and how chess queen operates. Two chess queens are in attacking position when they are on same row, 阅读全文

posted @ 2019-02-15 06:12 新海岛Blog 阅读(92) 评论(0) 推荐(0)

UVA11494 Queen【水题】

摘要: The game of Chess has several pieces with curious movements. One of them is the Queen, which can move any number of squares in any direction: in the s 阅读全文

posted @ 2019-02-15 05:56 新海岛Blog 阅读(126) 评论(0) 推荐(0)

2019年2月14日

UVA10493 Cats, with or without Hats【组合】

摘要: A cat wears a hat if and only if it has N cats in its hat. There is exactly one cat that is not inside any other cat’s hat. If there are M cats withou 阅读全文

posted @ 2019-02-14 20:57 新海岛Blog 阅读(99) 评论(0) 推荐(0)

UVA10491 Cows and Cars【概率】

摘要: In television contests, participants are often asked to choose one from a set of or doors for example, one or several of which lead to different prize 阅读全文

posted @ 2019-02-14 20:10 新海岛Blog 阅读(91) 评论(0) 推荐(0)

UVA11480 Jimmy's Balls【组合】

摘要: Jimmy has a very large bag full of balls. Each ball has a single color. There are three colors; red, blue and green. There is atleast one ball of each 阅读全文

posted @ 2019-02-14 18:15 新海岛Blog 阅读(118) 评论(0) 推荐(0)

UVA11547 Automatic Answer【水题】

摘要: Last month Alice nonchalantly entered her name in a draw for a Tapmaster 4000. Upon checking her mail today, she found a letter that read:    阅读全文

posted @ 2019-02-14 16:59 新海岛Blog 阅读(119) 评论(0) 推荐(0)

UVA11296 Counting Solutions to an Integral Equation【数学】

摘要: Given, n, count the number of solutions to the equation x + 2y + 2z = n, where x, y, z, n are non negative integers. Input There is at most 1500 input 阅读全文

posted @ 2019-02-14 16:23 新海岛Blog 阅读(134) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页

导航

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