# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1006461 | christinelynn | Game (IOI14_game) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
// using namespace std;
# define int long long
# define fir first
# define sec second
# define pb push_back
# define endl "\n"
const int cnst = 2e5+5;
bool mutipletestcase = 0;
bool debug = false;
int freq[1501];
void initialize(int n) {}
bool hasEdge(int u, int v) {
freq[max(u, v)]++;
return freq[max(u, v)] == max(u, v);
}
// signed main() {
// ios_base::sync_with_stdio(false); cin.tie(0);
// int t = 1;
// if(mutipletestcase) cin >> t;
// while(t--) solve();
// }