摘要:
题意 Description 新年将至,YY准备挂一排彩灯,已知彩灯刚挂完的彩灯共有N盏(编号为1,2,3,……),并且都是灭的。彩灯的闪烁由一段程序控制。 每一秒钟程序会生成两个正整数a和b(1 include include using namespace std; const int N=1e 阅读全文
摘要:
链接 [http://codeforces.com/contest/1043/problem/D] 题意 给你一个m n的矩阵(m using namespace std; define ll long long const int N=1e5+10; int a[N]; ll sum[N]; in 阅读全文