Problem | foreveralone |
---|---|
User | YEethui |
Submission Time | 2024-03-04 12:10:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:10:4: error: request for member ‘set’ in ‘b’, which is of pointer type ‘std::bitset<1000000000>*’ (maybe you meant to use ‘->’ ?)
10 | b.set();
| ^~~
foreveralone.cpp:12:62: error: request for member ‘flip’ in ‘b’, which is of pointer type ‘std::bitset<1000000000>*’ (maybe you meant to use ‘->’ ?)
12 | for(int i = 0; i < m; i++) {cin >> x >> y; if(x != y) {b.flip(x); b.flip(y);}}
| ^~~~
foreveralone.cpp:12:73: error: request for member ‘flip’ in ‘b’, which is of pointer type ‘std::bitset<1000000000>*’ (maybe you meant to use ‘->’ ?)
12 | for(int i = 0; i < m; i++) {cin >> x >> y; if(x != y) {b.flip(x); b.flip(y);}}
| ^~~~
foreveralone.cpp:14:35: error: no match for ‘opera