摘要: orz ,感觉一道很傻的模拟题,因为细节wa了好多回啊....感觉自己今天写的代码带毒... #include <stdio.h> #include <stack> #include <istream> #include <map> #include <math.h> #include <strin 阅读全文
posted @ 2018-04-03 22:47 Xzavieru 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1,模拟题 2,放在两边只是个幌子罢了,(放在中间和两边在无特殊情况下是一样的奖励 3,特殊情况,那么就是往中间放,对于每种颜色的球,最多得2点奖励 接下来看下代码~ #include <stdio.h>#include <stack>#include <istream>#include <map> 阅读全文
posted @ 2018-04-03 16:20 Xzavieru 阅读(70) 评论(0) 推荐(0) 编辑