Submission #924623

#TimeUsernameProblemLanguageResultExecution timeMemory
924623tosivanmakGame (IOI14_game)C++17
0 / 100
0 ms348 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...