Submission #114749

#TimeUsernameProblemLanguageResultExecution timeMemory
114749kimbj0709Game (IOI14_game)C++17
100 / 100
334 ms7416 KiB
#include "game.h" #include<bits/stdc++.h> using namespace std; int number = 0; void initialize(int n) { number = n; } vector<int> vect1(1501,0); int hasEdge(int a, int b) { int u,v; int idk = max(a,b); if(++vect1[idk]==idk){ return 1; } return 0; }

Compilation message (stderr)

game.cpp: In function 'int hasEdge(int, int)':
game.cpp:11:9: warning: unused variable 'u' [-Wunused-variable]
     int u,v;
         ^
game.cpp:11:11: warning: unused variable 'v' [-Wunused-variable]
     int u,v;
           ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...