摘要: 1.cout<<x&(-x)<<endl;可以输出x的二进制从右边数起第一位为1的数的大小,树状数组很有用 阅读全文
posted @ 2012-03-11 19:41 xingyezhi 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题目:Gluttonous robotTime Limit: 10000ms, Special Time Limit:25000ms, Memory Limit:65536KBTotal submit users: 11, Accepted users: 9Problem 12263 : Special judgeProblem descriptionSecret laboratory of Fatown has developed a new gluttonous robot which moves on stripe consisting of n+1 cells. Cells are n 阅读全文
posted @ 2012-03-11 13:12 xingyezhi 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 题目:Gluttonous robotTime Limit: 10000ms, Special Time Limit:25000ms, Memory Limit:65536KBTotal submit users: 11, Accepted users: 9Problem 12263 : Special judgeProblem descriptionSecret laboratory of Fatown has developed a new gluttonous robot which moves on stripe consisting of n+1 cells. Cells are n 阅读全文
posted @ 2012-03-11 13:07 xingyezhi 阅读(121) 评论(0) 推荐(0) 编辑