제출 #57880

#제출 시각아이디문제언어결과실행 시간메모리
57880zetapi게임 (IOI14_game)C++14
100 / 100
570 ms151596 KiB
#include "game.h" #include "bits/stdc++.h" using namespace std; int N,cnt[2000][2000]; void initialize(int n) { } int c[1500]; int hasEdge(int u, int v) { return ++c[u > v ? u : v] == (u > v ? u : v); } /*int hasEdge(int u, int v) { if(u>v) swap(u,v); cnt[v][u]++; if(cnt[v][u]==v) return 1; return 0; }*/
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...