cipele.cpp: In function 'int main()':
cipele.cpp:65:2: error: 'else' without a previous 'if'
else{
^~~~
cipele.cpp:35:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
~~~~~^~~~~~~~~~~~~~~
cipele.cpp:39:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi1[i]);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:42:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi2[i]);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:54:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi1[i]);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:57:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi2[i]);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:67:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi2[i]);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:70:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dizi1[i]);
~~~~~^~~~~~~~~~~~~~~~