topovi.cpp: In function 'int main()':
topovi.cpp:27:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&k,&p);
~~~~~^~~~~~~~~~~~~~~~~~~~~
topovi.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&i,&j,&s);
~~~~~^~~~~~~~~~~~~~~~~~~~~
topovi.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&i,&j);
~~~~~^~~~~~~~~~~~~~~
topovi.cpp:39:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&i,&j);
~~~~~^~~~~~~~~~~~~~~