codeforce
文章平均质量分 73
呵呵---哈哈---嘻嘻
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fox and Box Accumulation
while中的每一个for循环都是一摞箱子,用num表示当前是这一摞的第几个,只有a[i]>=num时,才能往下放。原创 2014-02-08 21:34:51 · 534 阅读 · 0 评论 -
Magic Formulas
点击打开链接题意:给出一个式子,求出它的值,用的是异或运算。方法:因为异或运算是可以交换的,所以可以将Q的表达式改成p1^p2^...^pn^(1 mod 1)^(2 mod 1)^...^(1 mod 2)^(2 mod 2)..... 可以发现模2 的余数的特点是1,0,1,0.。。。模3 的余数的特点是1,2,0,1,2,0.。。。所以可以用d[i]=1原创 2014-04-25 19:42:07 · 462 阅读 · 0 评论 -
B. Friends and Presents
http://codeforces.com/contest/483/problem/B原创 2014-10-26 11:26:47 · 518 阅读 · 0 评论 -
codeforces364A--- Matrix
点击打开链接题目大意:原创 2014-09-23 18:47:44 · 365 阅读 · 0 评论 -
Long Jumps
http://codeforces.com/contest/479/problem/D题目原创 2014-10-21 11:19:23 · 673 阅读 · 0 评论 -
C. Table Decorations
http://codeforces.com/contest/478/problem/Cg原创 2014-10-21 23:22:48 · 427 阅读 · 0 评论
分享