Submission #924624

#TimeUsernameProblemLanguageResultExecution timeMemory
924624tosivanmakGame (IOI14_game)C++17
100 / 100
229 ms18516 KiB
#include<bits/stdc++.h> using namespace std; #define ll long long // #ifdef __cplusplus // extern "C" { // #endif // void initialize(int n); // int hasEdge(int u, int v); // #ifdef __cplusplus // } // #endif // TODO: global variables can be declared here ll cnt[1505]; void initialize(int n) { } int hasEdge(int u, int v) { // TODO: implementation if(u<v) swap(u,v); return (++cnt[u]==u); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...