france

https://github.com/francecil

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年7月30日

摘要: K -Color the ballTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionN个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a 0... 阅读全文
posted @ 2014-07-30 21:09 france 阅读(200) 评论(0) 推荐(0) 编辑

摘要: #include #include using namespace std;#define lson l , m , rt > 1; build(lson); build(rson);}void update(int L,int R,int c,int l,int r,int rt) {//(L,R... 阅读全文
posted @ 2014-07-30 16:56 france 阅读(137) 评论(0) 推荐(0) 编辑

摘要: 想了好久没想到好的解决办法,参考了http://user.qzone.qq.com/289065406/blog/1303713313大致题意:九宫格问题,也有人叫数独问题把一个9行9列的网格,再细分为9个3*3的子网格,要求每行、每列、每个子网格内都只能使用一次1~9中的一个数字,即每行、每列、每... 阅读全文
posted @ 2014-07-30 11:51 france 阅读(185) 评论(0) 推荐(0) 编辑

摘要: D -Red and BlackTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThere is a rectangular room, covered with squ... 阅读全文
posted @ 2014-07-30 01:41 france 阅读(175) 评论(0) 推荐(0) 编辑