摘要: 比牌先比牌型,大的牌型大于小的牌型,牌型一般分为10种,从大到小为: 同花大顺(Royal Flush):最高为Ace(一点)的同花顺。 例: 同花顺(Straight Flush):同一花色,顺序的牌。 例: 四条(Four of a Kind,亦称“铁支”、“四张”或“炸弹”):有四张同一点数的牌。 例: 满堂红(Fullhouse,亦称“俘虏”、“骷髅”、“夫... 阅读全文
posted @ 2014-04-25 17:31 katago 阅读(2244) 评论(0) 推荐(0)
摘要: // 题意:有P个LED灯,以及N个字符,要求选出个数最少的LED灯,使得即使只有这些灯正常工作,也能区分出这N个字符 // 题意抽象:输入两个整数P, N以及N行P列的01矩阵,找少的列,能区分所有行 // 规模:P#include#include#include#include#includeusing namespace std;const int P=15;const i... 阅读全文
posted @ 2014-04-25 15:44 katago 阅读(234) 评论(0) 推荐(0)
摘要: Problem G. Birthday Cake Background Lucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them.Now we put the cake onto a Descartes coordinate. Its center is at (... 阅读全文
posted @ 2014-04-25 11:35 katago 阅读(366) 评论(0) 推荐(0)