Submission #877264

#TimeUsernameProblemLanguageResultExecution timeMemory
877264GaLzGame (IOI14_game)C++14
100 / 100
245 ms18300 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef vector<int> vi; const int maxn=2e6+5; const int INF=1e9+5; const ll mod=1e9+7; #define ok ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define pb push_back #define lb lower_bound #define ub upper_bpund #define fi first #define se second #define endl '\n' void initialize(int n) { } int cnt[1500]; int hasEdge(int u, int v) { cnt[max(u, v)]++; return cnt[max(u, v)]==max(u, v); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...