Submission #1006512

#TimeUsernameProblemLanguageResultExecution timeMemory
1006512andecaandeciGame (IOI14_game)C++17
100 / 100
179 ms8808 KiB
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define ll long long #define fi first #define se second #define endl '\n' template <typename T> using ordered_set = tree<T, null_type,less<T>, rb_tree_tag,tree_order_statistics_node_update>; const ll MOD = 1e9 + 7; const ll INF = 1e18; int n; vector<int> fre; void initialize(int N){ fre.resize(N); } int hasEdge(int u, int v){ fre[max(u, v)]++; return fre[max(u, v)] == max(u, v); } /* */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...