bobek.cpp: In function 'int32_t main()':
bobek.cpp:9:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%d%d",&n,&m);
~~ ^
bobek.cpp:9:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
bobek.cpp:15:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%d",&d);
~~^
bobek.cpp:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<(1<<tab.size()); i++)
~^~~~~~~~~~~~~~~~
bobek.cpp:24:13: warning: unused variable 'nomb' [-Wunused-variable]
int nomb=0;
^~~~
bobek.cpp:38:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%d\n",res);
^
bobek.cpp:11:9: warning: unused variable 'pluss' [-Wunused-variable]
int pluss=0;
^~~~~
bobek.cpp:12:9: warning: unused variable 'moins' [-Wunused-variable]
int moins=0;
^~~~~
bobek.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
bobek.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
~~~~~^~~~~~~~~