work/source: In function ‘int main()’:
work/source:53: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘char (*)[1000005]’
work/source:54: error: ‘strlen’ was not declared in this scope
work/source:64: error: ‘sort’ was not declared in this scope
work/source:77: error: ‘memset’ was not declared in this scope
work/source:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
