摘要:
K -Color the ballTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionN个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a 0... 阅读全文
摘要:
K -Color the ballTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionN个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a 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... 阅读全文
摘要:
想了好久没想到好的解决办法,参考了http://user.qzone.qq.com/289065406/blog/1303713313大致题意:九宫格问题,也有人叫数独问题把一个9行9列的网格,再细分为9个3*3的子网格,要求每行、每列、每个子网格内都只能使用一次1~9中的一个数字,即每行、每列、每... 阅读全文
摘要:
D -Red and BlackTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThere is a rectangular room, covered with squ... 阅读全文
|