servers.cpp:10:23: error: 'void brep(int, int)' redeclared as different kind of entity
10 | void brep(int i, int a) {
| ^
servers.cpp:8:13: note: previous declaration 'std::vector<int> brep [2]'
8 | vector<int> brep[2];
| ^~~~
servers.cpp: In function 'int main()':
servers.cpp:33:17: error: 'brep' cannot be used as a function
33 | brep(0, a); brep(1, b);
| ~~~~^~~~~~
servers.cpp:33:29: error: 'brep' cannot be used as a function
33 | brep(0, a); brep(1, b);
| ~~~~^~~~~~
servers.cpp:56:37: error: 'breop' was not declared in this scope; did you mean 'brep'?
56 | for (int i = ind+1; i < breop[1].size(); i++) {
| ^~~~~
| brep
servers.cpp:19:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d%d", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~
servers.cpp:22:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%c", &c); scanf("%c", &c);
| ~~~~~^~~~~~~~~~
servers.cpp:22:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%c", &c); scanf("%c", &c);
| ~~~~~^~~~~~~~~~
servers.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
servers.cpp:30:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d%d", &a, &b); // has b traveled to a??
| ~~~~~^~~~~~~~~~~~~~~~