Fork me on GitHub
摘要: Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文
posted @ 2018-07-28 17:14 Xenny 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Problem Description 在小白成功的通过了第一轮面试后,他来到了第二轮面试。面试的题目有点难度了,为了考核你的思维能量,面试官给你一副(2x4)的初态地图,然后在给你一副(2x4)的终态地图。每一幅地图都是有数字1~8表示,给你的地图的信息是一串序列,然后根据这序列,从地图的左上角开 阅读全文
posted @ 2018-07-28 15:08 Xenny 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 输入格式 1、cin>>a; 最基本的格式,适用于各种类型。会过滤掉不可见字符例如空格,TAB,回车等 2、cin>>noskipws>>ch[i]; 使用了 noskipws流控制,不会过滤空白字符 3、cin.get(ch); 或 ch = cin.get(); 接收一个字符,类似于getcha 阅读全文
posted @ 2018-07-28 11:52 Xenny 阅读(3423) 评论(0) 推荐(0) 编辑