./Main.cpp: In function ‘int main()’:
./Main.cpp:14:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[111111]’ [-Wformat=]
scanf("%s%s%d",&s,&t,&q);
^
./Main.cpp:14:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[111111]’ [-Wformat=]
./Main.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s%d",&s,&t,&q);
^
./Main.cpp:29:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&a,&b,&c,&d);
^