work/source: In function ‘int main()’:
work/source:273: error: ‘sort’ was not declared in this scope
work/source:294: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long long int’
work/source:261: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:262: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:266: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:269: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
