摘要: 如果cin出现了问题,那么cin调用fail()就会返回真,进入循环后处理错误信息 阅读全文
posted @ 2016-03-21 16:31 hu983 阅读(1417) 评论(0) 推荐(0) 编辑
摘要: 输出为1 阅读全文
posted @ 2016-03-21 16:20 hu983 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe 阅读全文
posted @ 2016-03-21 14:39 hu983 阅读(238) 评论(0) 推荐(0) 编辑