Submission #972730

#TimeUsernameProblemLanguageResultExecution timeMemory
972730tamir1Game (APIO22_game)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

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]
      | ^~~~~~