Table of Contents
Edit on GithubKick Start 2020 Round C - Candies
1#include <bits/stdc++.h>23using namespace std;45const int maxN = 2e5 + 5;67int 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!