Kick Start 2020 Round C - Candies

Table of Contents


Edit on Github
1#include <bits/stdc++.h>
2
3using namespace std;
4
5const int maxN = 2e5 + 5;
6
7int n, q;
8int ar[maxN];
9vector<long long> ipsEven(maxN), ipsOdd(maxN), psEven(maxN), psOdd(maxN);
10

Join the USACO Forum!

Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!

Give Us Feedback on Kick Start 2020 Round C - Candies!