摘要: 复习了下线段树线段树的区间修改这道题有调试了两个多小时,怎么没进步啊,wa的原因是两个int形相乘,结果如果是long形,不仅结果的变量要用long,这两个数也得是long形,不然仍会溢出,原来就犯过同样的错误,怎么又犯了,还有找了那么长时间,k靠!!!!!!!!!!!!还有还有,如果要组成if else 语句,要有括号就都有,不能只有一个有#include <iostream> #include <cstdio> #include <algorithm> #define LL __int64 using namespace std; int n,tot; 阅读全文
posted @ 2013-03-09 18:59 LJ_COME!!!!! 阅读(175) 评论(0) 推荐(0)