Submission #1059259

#TimeUsernameProblemLanguageResultExecution timeMemory
1059259vjudge1Game (IOI14_game)C++17
0 / 100
1 ms444 KiB
#include "game.h" #include<bits/stdc++.h> #define ll long long #define pb push_back using namespace std; int N; vector<int> cnt(5,0); void initialize(int n) { N = n; } int hasEdge(int u, int v) { cnt[u]++; cnt[v]++; int ans=0; if(cnt[u] == 3 || cnt[v] == 3){ ans = 1; } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...