摘要: 如果cin出现了问题,那么cin调用fail()就会返回真,进入循环后处理错误信息 阅读全文
posted @ 2016-03-21 16:31 hu983 阅读(1451) 评论(0) 推荐(0)
摘要: 输出为1 阅读全文
posted @ 2016-03-21 16:20 hu983 阅读(167) 评论(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 阅读(242) 评论(0) 推荐(0)