2015年11月1日
摘要: 单点更新http://acm.hdu.edu.cn/showproblem.php?pid=1166题意:单点更新加减,区间查询求和。 1 #include 2 #define lrrt int L,int R,int rt 3 #define iall 1,n,1 4 #define imid i... 阅读全文
posted @ 2015-11-01 20:26 gaolzzxin 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 2013 ACM-ICPC吉林通化全国邀请赛A http://acm.hust.edu.cn/vjudge/contest/view.action?cid=97654#problem/A题意:输入12个数,输出平均值,但是不能有多余的后缀的零。直接。2f wa了一发。解法:用sprintf 放到ch... 阅读全文
posted @ 2015-11-01 15:20 gaolzzxin 阅读(211) 评论(0) 推荐(0) 编辑