Kick Start 2020 Round C - Candies

#include <bits/stdc++.h>
using namespace std;
const int maxN = 2e5 + 5;
int n, q;
int ar[maxN];
vector<long long> ipsEven(maxN), ipsOdd(maxN), psEven(maxN), psOdd(maxN);

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!