| Problem | foreveralone | 
|---|---|
| User | YongXin | 
| Submission Time | 2023-06-27 15:02:26 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:8:13: error: the value of ‘N’ is not usable in a constant expression
    8 |     bitset<N> m;
      |             ^
foreveralone.cpp:7:12: note: ‘N’ was not initialized with a constant expression
    7 |  const int N=n;
      |            ^
foreveralone.cpp:8:13: note: in template argument for type ‘long unsigned int’
    8 |     bitset<N> m;
      |             ^
foreveralone.cpp:9:27: error: request for member ‘set’ in ‘m’, which is of non-class type ‘int’
    9 |     for(int i=0;i<n;++i)m.set(i);
      |                           ^~~
foreveralone.cpp:13:19: error: request for member ‘test’ in ‘m’, which is of non-class type ‘int’
   13 |             if (m.test(a))m.reset(a);
      |                   ^~~~
foreveralone.cpp:13:29: error: request for member ‘reset’ in ‘m’, which is of non-class type ‘int’
   13 |             if (m.test(a))m.reset(a);
      |