/in/foo.cc: In function 'void insert(char*, int)':
/in/foo.cc:26:19: warning: unused variable 'k' [-Wunused-variable]
register int i,j,k,now=0;
^
/in/foo.cc: In function 'void getfail()':
/in/foo.cc:38:17: warning: unused variable 'j' [-Wunused-variable]
register int i,j,u,fail,head=1,tail=1;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:97:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[15]' [-Wformat=]
scanf("%s",&s),insert(s,a);
^
/in/foo.cc:88:21: warning: unused variable 'd' [-Wunused-variable]
register int a,b,c,d;
^