摘要: 题目描述 牛牛最近迷上了一种叫斗地主的扑克游戏。斗地主是一种使用黑桃、红心、梅花、方片的A到K加上大小王的共54张牌来进行的扑克牌游戏。在斗地主中,牌的大小关系根据牌的数码表示如下:3#include #define Min(x,y) (x)'9'||ch='0'&&... 阅读全文
posted @ 2017-07-30 21:43 cooook 阅读(158) 评论(0) 推荐(1) 编辑
摘要: DescriptionGeorgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right... 阅读全文
posted @ 2017-07-30 21:00 cooook 阅读(101) 评论(0) 推荐(0) 编辑
摘要: DescriptionRivest是密码学专家。近日他正在研究一种数列E = {E[1],E[2],……,E[n]},且E[1] = E[2] = p(p为一个质数),E[i] = E[i-2]*E[i-1] (若2#include #include using na... 阅读全文
posted @ 2017-07-30 18:36 cooook 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGG and MM like playing a game since they are children. At the beginning of game, there are two piles of stones. MM ... 阅读全文
posted @ 2017-07-30 17:52 cooook 阅读(152) 评论(0) 推荐(0) 编辑