随笔分类 -  欧拉计划

编程练手
Project Euler 54
摘要:题目如下:In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, in the following way:High Card: Highest value card.One Pair: Two cards of the same value.Two Pairs: Two different pairs.Three of a Kind: Three cards of the same value.Straight: All cards are consecutiv 阅读全文
posted @ 2011-07-17 21:40 清墨 阅读(852) 评论(0) 推荐(0)