摘要: Best Cow Line Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 26670 Accepted: 7226 Description FJ is about to take his N (1 ≤ N ≤ 2,000) co 阅读全文
posted @ 2017-10-13 22:56 ninding 阅读(177) 评论(0) 推荐(0) 编辑
摘要: int a[3] = {1,2,3}; a可能形成的集合为{1,2,3},{1,3,2},{2,1,3},{2,3,1},{3,1,2},{3,2,1}。 {2,1,3}的prev是{1,3,2}, next是{2,3,1}。 用法 阅读全文
posted @ 2017-10-13 21:57 ninding 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Lake Counting Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 37384 Accepted: 18586 Description Due to recent rains, water has pooled in va 阅读全文
posted @ 2017-10-13 21:32 ninding 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 题目: 1268 和为K的组合 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 1268 和为K的组合 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 1268 和为K的组合 基准时间限制:1 秒 空间限制:131072 KB 阅读全文
posted @ 2017-10-13 21:09 ninding 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 题目: 思路:蚂蚁相碰和不相碰的情况是一样的,相当于交换位置继续走。 代码: 阅读全文
posted @ 2017-10-13 20:33 ninding 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 在命令行下输入: sudo add-apt-repository ppa:a-v-shkop/chromium sudo apt-get update sudo apt-get install chromium-browser 安装完成。 阅读全文
posted @ 2017-10-13 15:01 ninding 阅读(840) 评论(0) 推荐(0) 编辑