lyuboyn.cpp:89:8: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
89 | main () {
| ^
lyuboyn.cpp:138:11: error: redefinition of 'const int N'
138 | const int N = 2e5 + 5;
| ^
lyuboyn.cpp:38:11: note: 'const int N' previously defined here
38 | const int N = 2e5 + 5;
| ^
lyuboyn.cpp:139:11: error: redefinition of 'const int oo'
139 | const int oo = 1e9 + 5;
| ^~
lyuboyn.cpp:39:11: note: 'const int oo' previously defined here
39 | const int oo = 1e9 + 5;
| ^~
lyuboyn.cpp:141:5: error: redefinition of 'int n'
141 | int n, k, t;
| ^
lyuboyn.cpp:41:5: note: 'int n' previously declared here
41 | int n, k, t;
| ^
lyuboyn.cpp:141:8: error: redefinition of 'int k'
141 | int n, k, t;
| ^
lyuboyn.cpp:41:8: note: 'int k' previously declared here
41 | int n, k, t;
| ^
lyuboyn.cpp:141:11: error: redefinition of 'int t'
141 | int n, k, t;
| ^
lyuboyn.cpp:41:11: note: 'int t' previously declared here
41 | int n, k, t;
| ^
lyuboyn.cpp:142:8: error: redefinition of 'std::string s'
142 | string s;
| ^
lyuboyn.cpp:42:8: note: 'std::string s' previously declared here
42 | string s;
| ^
lyuboyn.cpp:143:12: error: redefinition of 'std::bitset<200005> was'
143 | bitset <N> was;
| ^~~
lyuboyn.cpp:43:12: note: 'std::bitset<200005> was' previously defined here
43 | bitset <N> was;
| ^~~
lyuboyn.cpp:145:6: error: redefinition of 'void show_bits(int)'
145 | void show_bits(int x) {
| ^~~~~~~~~
lyuboyn.cpp:45:6: note: 'void show_bits(int)' previously defined here
45 | void show_bits(int x) {
| ^~~~~~~~~
lyuboyn.cpp:153:5: error: redefinition of 'int g(int)'
153 | int g(int x) {
| ^
lyuboyn.cpp:53:5: note: 'int g(int)' previously defined here
53 | int g(int x) {
| ^
lyuboyn.cpp:157:6: error: redefinition of 'void solve()'
157 | void solve() {
| ^~~~~
lyuboyn.cpp:57:6: note: 'void solve()' previously defined here
57 | void solve() {
| ^~~~~
lyuboyn.cpp:191:8: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
191 | main () {
| ^
lyuboyn.cpp:191:2: error: redefinition of 'int main()'
191 | main () {
| ^~~~
lyuboyn.cpp:89:2: note: 'int main()' previously defined here
89 | main () {
| ^~~~