island.cpp: In function 'int main()':
island.cpp:24:3: error: 'llint' was not declared in this scope; did you mean 'lrint'?
24 | llint sum = niz[i];
| ^~~~~
| lrint
island.cpp:36:14: error: 'sum' was not declared in this scope
36 | if (val > sum) break;
| ^~~
island.cpp:41:4: error: 'sum' was not declared in this scope
41 | sum += val;
| ^~~
island.cpp:12:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
island.cpp:14:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", niz+i);
| ~~~~~^~~~~~~~~~~~~
island.cpp:18:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~