/in/foo.c: In function 'main':
/in/foo.c:12:14: warning: unused variable 'count2' [-Wunused-variable]
int count1, count2;
^~~~~~
/in/foo.c:12:6: warning: unused variable 'count1' [-Wunused-variable]
int count1, count2;
^~~~~~
/in/foo.c: In function 'FindMaxs1':
/in/foo.c:40:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<n-1;i++)
^~~
/in/foo.c:43:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d ", a[n-1]);
^~~~~~
/in/foo.c: In function 'FindMaxs2':
/in/foo.c:49:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<n-1;i++)
^~~
/in/foo.c:53:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d ", b[n-1]);
^~~~~~