/in/foo.cc: In function 'int main()':
/in/foo.cc:19:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10001]' [-Wformat=]
scanf("%s%s%s", &s1, &s2, &s3);
^
/in/foo.cc:19:31: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[10001]' [-Wformat=]
/in/foo.cc:19:31: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[10001]' [-Wformat=]
/in/foo.cc:20:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (k = zzj(s2[n], s1[0]) == zzj(s2[n], s3[0])) swap(s1, s2);
^
/in/foo.cc:21:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if (k = zzj(s3[n], s1[0]) == zzj(s3[n], s2[0])) swap(s1, s3);
^