摘要: Problem DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of snowflakes, and search for a pair that may be identical. Each snowflake has six arms. For each sn 阅读全文
posted @ 2013-10-28 17:57 persistent codeants 阅读(274) 评论(0) 推荐(0)
摘要: Problem DescriptionFarmer John'sNcows (1 ≤N≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by his cows to a list of onlyKdifferent features (1 ≤K≤ 30). For example, cows exhibiting feature #1 might have spots, cows exhibiting feature #2 mi 阅读全文
posted @ 2013-10-28 16:52 persistent codeants 阅读(269) 评论(0) 推荐(0)
摘要: Problem DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in the stock market. For maximum effect, you have to spread the rumours in the fastest possible 阅读全文
posted @ 2013-10-28 13:49 persistent codeants 阅读(217) 评论(0) 推荐(0)