随笔分类 -  模拟

摘要:/*题目描述有问题,发牌是从k开始发到A 然后最上面一层是输入的第一行,第二层是第二行,以此类推*/#include #include #include #include using namespace std;struct card{ int vis,num; char color;}... 阅读全文
posted @ 2014-10-25 16:16 Scale_the_heights 阅读(222) 评论(0) 推荐(0)
摘要:简单模拟,有人用dfs写的,貌似更高端,由于测试数据不是很大,效率也不低,时间大概是几毫秒吧,在学校的virtual judge上居然是0毫秒,好亮。。。。(用了面向对象,或许也不能称之为面向对象。。。。。)#include #include using namespace std;int n;ch... 阅读全文
posted @ 2014-10-03 12:12 Scale_the_heights 阅读(128) 评论(0) 推荐(0)