mobitel.cpp: In function 'int main()':
mobitel.cpp:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1,k=-1;i<=strlen(ar+1);i++){
~^~~~~~~~~~~~~~
mobitel.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
~~~~~^~~~~~~~~
mobitel.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ar+1);
~~~~~^~~~~~~~~~~