Runtime Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1002]' [-Wformat=]
     while(scanf("%s%s",&s1,&s2)!=EOF)
                        ~~~    ^
/in/foo.cc:61:31: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1002]' [-Wformat=]