제출 #974676

#제출 시각아이디문제언어결과실행 시간메모리
974676lucri게임 (IOI14_game)C++17
100 / 100
244 ms18508 KiB
#ifndef _GAME_H #define _GAME_H #include<bits/stdc++.h> int N,nr[1510]; void initialize(int n) { for(int i=0;i<n;++i) nr[i]=0; } int hasEdge(int u, int v) { if(v>u) v^=u^=v^=u; ++nr[u]; if(nr[u]==u) return 1; return 0; } #endif
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...