servers.cpp: In function 'int main()':
servers.cpp:10:13: error: invalid types 'int[int]' for array subscript
10 | v[i][i] = 1;
| ^
servers.cpp:7:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d %d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~
servers.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | scanf(" %c", &c);
| ~~~~~^~~~~~~~~~~
servers.cpp:20:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | scanf("%d %d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~
servers.cpp:26:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d %d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~
servers.cpp:32:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%d", &a);
| ~~~~~^~~~~~~~~~