답안 #972730

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
972730 2024-05-01T05:03:43 Z tamir1 게임 (APIO22_game) C++17
컴파일 오류
0 ms 0 KB
#include "game.h"

bitset<300001> vis;
vector<int> v[300001]
void init(int n, int k) {
	for(int i=0;i<k-1;i++){
		v[i].push(i+1);
	}
}

int add_teleporter(int u, int v) {
	if(u>=v) return 1;
	return 0;
}

Compilation message

game.cpp:3:1: error: 'bitset' does not name a type
    3 | bitset<300001> vis;
      | ^~~~~~
game.cpp:4:1: error: 'vector' does not name a type
    4 | vector<int> v[300001]
      | ^~~~~~