제출 #1006500

#제출 시각아이디문제언어결과실행 시간메모리
1006500christinelynn게임 (IOI14_game)C++17
0 / 100
0 ms348 KiB
#include <bits/stdc++.h>
using namespace std;


int freq[1502], maks;

void initialize(int n) {
  maks = n-1;
}

bool hasEdge (int u, int v) {
  freq[u]++; freq[v]++;
  if (freq[u] == maks|| freq[v] == maks) return 1;
  else return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...