slicice.cpp: In function 'int main()':
slicice.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d%d%d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
slicice.cpp:16:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | for(int i = 0;i < n;i ++)scanf("%d", &p[i]);
| ~~~~~^~~~~~~~~~~~~
slicice.cpp:17:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | for(int i = 0;i < m + 1;i ++)scanf("%d", &b[i]);
| ~~~~~^~~~~~~~~~~~~