klavir.cpp: In function 'int main()':
klavir.cpp:21:18: error: expected '}' at end of input
21 | return 0;
| ^
klavir.cpp:6:12: note: to match this '{'
6 | int main() {
| ^
klavir.cpp:10:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d", &m, &n);
| ~~~~~^~~~~~~~~~~~~~~~
klavir.cpp:12:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d", &aa[i]);
| ~~~~~^~~~~~~~~~~~~~