work/source: In function ‘int main()’:
work/source:68: error: ‘memset’ was not declared in this scope
work/source:130: warning: name lookup of ‘dist’ changed
work/source:12: warning:   matches this ‘dist’ under ISO standard rules
work/source:120: warning:   matches this ‘dist’ under old rules
work/source:60: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:61: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:79: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
