staciakampis.cpp: In function 'int main()':
staciakampis.cpp:33:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d", &w, &h);
~~ ^
staciakampis.cpp:33:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
staciakampis.cpp:90:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", g.size());
~~~~~~~~^
staciakampis.cpp:91:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < g.size(); i++)
~~^~~~~~~~~~
staciakampis.cpp:92:24: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
printf("%d\n", g[i]);
^
staciakampis.cpp:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
~~~~~^~~~~~~~~~
staciakampis.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &w, &h);
~~~~~^~~~~~~~~~~~~~~~