work/source: In function ‘void add(int)’:
work/source:55: error: ‘strlen’ was not declared in this scope
work/source: In function ‘int main()’:
work/source:132: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘char (*)[55]’
work/source:125: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:126: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
work/source:130: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
work/source:132: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
