답안 #243174

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
243174 2020-06-30T13:45:07 Z uacoder123 게임 (IOI14_game) C++14
컴파일 오류
0 ms 0 KB
#include "game.h"
int c[1501]={};
void initialize(int n) {
}
int hasEdge(int u, int v) {
	if(u>v)
		swap(u,v);
	reurn(++c[v]==(v));
    return 1;
}

Compilation message

game.cpp: In function 'int hasEdge(int, int)':
game.cpp:7:3: error: 'swap' was not declared in this scope
   swap(u,v);
   ^~~~
game.cpp:8:2: error: 'reurn' was not declared in this scope
  reurn(++c[v]==(v));
  ^~~~~