
数学
文章平均质量分 79
cmonkey
追随大自然的召唤
展开
-
POJ 1942 Paths on a Grid
Paths on a GridTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 16218 Accepted: 3885DescriptionImagine you are attending your math lesson at school. Once again, you are bored be原创 2012-02-03 22:33:35 · 628 阅读 · 0 评论 -
POJ 2151 Check the difficulty of problems
Check the difficulty of problemsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 2674 Accepted: 1163DescriptionOrganizing a programming contest is not an easy job. To avoid making原创 2012-02-03 22:53:48 · 425 阅读 · 0 评论 -
POJ 3349 Snowflake Snow Snowflakes
Snowflake Snow SnowflakesTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 20205 Accepted: 5269DescriptionYou may have heard that no two snowflakes are alike. Your task is to wri原创 2012-02-03 22:55:29 · 417 阅读 · 0 评论 -
POJ 2299 Ultra-QuickSort
Ultra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 24310 Accepted: 8696DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm p原创 2012-02-03 22:59:48 · 379 阅读 · 0 评论 -
POJ 1671 Rhyme Schemes
Rhyme SchemesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 1175 Accepted: 645 Special JudgeDescriptionThe rhyme scheme for a poem (or stanza o原创 2012-03-06 13:55:25 · 1263 阅读 · 0 评论 -
HDU 3864 D_num
Problem DescriptionOregon Maple was waiting for Bob When Bob go back home. Oregon Maple asks Bob a problem that as a Positive number N, if there are only four Positive number M makes Gcd(N, M) == M原创 2011-07-27 19:31:59 · 1153 阅读 · 0 评论 -
概率题 面试 笔试
概率题 面试 笔试本文总结了面试或笔试中可能考到的概率题。第1题 一个桶里面有白球、黑球各100个,现在按下述规则取球: - i 、每次从通里面拿出来两个球; - ii、如果取出的是两个同色的求,就再放入一个黑球; - iii、如果取出的是两个异色的求,就再放入一个白球。 问:最后桶里面只剩下一个黑球的概率是多少?答: 动态规划,令f[i,j]表示有i个白球,j个原创 2015-07-12 16:26:34 · 7378 阅读 · 1 评论