foo.cc: In function 'int main()':
foo.cc:10:1: error: 'memset' was not declared in this scope
memset(k,0,sizeof(0));
^~~~~~
foo.cc:10:1: note: suggested alternative: 'wmemset'
memset(k,0,sizeof(0));
^~~~~~
wmemset
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
foo.cc:12:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",k[i]);
~~~~~^~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。