Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[101]' [-Wformat=]
scanf("%s",&s[i]);
~~~~~^
/in/foo.cc:22:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[101]' [-Wformat=]
printf("%s",&s[i]),exit(0);
~~~~~^