Rookie Engineer

If you aren't the kind of person that feels this way naturally, you'll need to become one in order to make it as a hacker. Otherwise you'll find your hacking energy is sapped by distractions like sex, money, and social approval.

  C++博客 :: 首页 :: 联系 :: 聚合  :: 管理
  24 Posts :: 0 Stories :: 2 Comments :: 0 Trackbacks

常用链接

留言簿

我参与的团队

搜索

  •  

最新评论

阅读排行榜

评论排行榜

多的不说,2点:
1. 暴力不行,用多项式的和,不然超时是必需的;
    公式: (a+1+a+d)*d/2 = sum =a*d + (d+1)*d/2
2. PE,注意"a blank line".

AC code:
posted on 2011-05-31 08:19 micwu 阅读(297) 评论(0)  编辑 收藏 引用 所属分类: HDOJ

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理