/in/foo.cc: In function 'void insert(char*, int)':
/in/foo.cc:43:19: warning: unused variable 'k' [-Wunused-variable]
register int i,j,k,now=0;
^
/in/foo.cc: In function 'void getfail()':
/in/foo.cc:55: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:87: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:79:19: warning: unused variable 'c' [-Wunused-variable]
register int a,b,c,d;
^
/in/foo.cc:79:21: warning: unused variable 'd' [-Wunused-variable]
register int a,b,c,d;
^