摘要: 2014-06-1517:38:11题意&思路:操作描述上并不复杂的表/栈模拟题,但是写起来一定要注意细节!(被逻辑混乱WA了好几次,。TaT!),最后把代码逻辑优化了下,恩恩。 1 #include 2 #include 3 using namespace std; 4 5 struct b... 阅读全文
posted @ 2014-06-15 17:41 Naturain 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 2014-06-1502:05:36题意&思路:就是简单模拟一下这个处理,由于太困了。。。敲了个普通程序,应该还有很大优化空间。。。。QAQ(被the number of piles == 1时用pile不加s坑了一次) 1 #include 2 #include 3 #include ... 阅读全文
posted @ 2014-06-15 02:08 Naturain 阅读(136) 评论(0) 推荐(0) 编辑