Skip to content

Instantly share code, notes, and snippets.

@theortsac
Last active July 2, 2023 16:57
Show Gist options
  • Save theortsac/a487a2f9ac8dd30bb31cbdf48de65eff to your computer and use it in GitHub Desktop.
Save theortsac/a487a2f9ac8dd30bb31cbdf48de65eff to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
const int MAXN = 2e5 + 10;
const int MAXLOG = 30;
int prox[MAXLOG + 1][MAXN];
int main() {
int n, q;
cin >> n >> q; // só usaremos o valor q no futuro
for (int x = 1; x <= n; x++) {
cin >> prox[0][x];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment