Submission #972730

# Submission time Handle Problem Language Result Execution time Memory
972730 2024-05-01T05:03:43 Z tamir1 Game (APIO22_game) C++17
Compilation error
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]
      | ^~~~~~