foo.cc: In function 'int main()':
foo.cc:14:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[110]' [-Wformat=]
scanf("%s", &getCode);
~~~~~~~~^
foo.cc:16:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[110]' [-Wformat=]
scanf("%s", &text);
~~~~~^
foo.cc:32:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000000]' [-Wformat=]
scanf("%s", &Code);
~~~~~^
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &getCode);
~~~~~^~~~~~~~~~~~~~~~
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &text);
~~~~~^~~~~~~~~~~~~
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &Code);
~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务