摘要:
这道题自己分析时觉得挺麻烦的,没分析出来,只好看《训练指南》了,自己的分析和建模能力还是太弱了。 代码如下:View Code 1 #include <cstdio> 2 #include <algorithm> 3 using namespace std; 4 5 const int maxn = 1000000+10; 6 long long a[maxn], c[maxn]; 7 8 int main() 9 {10 #ifdef LOCAL11 freopen("in", "r", stdin);12 #endif13 i 阅读全文
posted @ 2013-03-30 20:55
xiaobaibuhei
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号