work/source: In function ‘int main()’:
work/source:18: warning: format ‘%s’ expects type ‘char*’, but argument 3 has type ‘char (*)[51]’
work/source:22: warning: format ‘%s’ expects type ‘char*’, but argument 3 has type ‘char (*)[51]’
work/source:17: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
work/source:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
work/source:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
In file included from /usr/include/c++/4.4/algorithm:62,
                 from work/source:3:
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = char (*)[51], _Size = int]’:
/usr/include/c++/4.4/bits/stl_algo.h:5220:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2268: error: ISO C++ forbids casting to an array type ‘char [51]’
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’:
/usr/include/c++/4.4/bits/stl_algo.h:2178:   instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5222:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2105: error: array must be initialized with a brace-enclosed initializer
/usr/include/c++/4.4/bits/stl_algo.h:2178:   instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5222:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2109: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’:
/usr/include/c++/4.4/bits/stl_algo.h:2179:   instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5222:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2148: error: ISO C++ forbids casting to an array type ‘char [51]’
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp) [with _RandomAccessIterator = char (*)[51], _Tp = char*]’:
/usr/include/c++/4.4/bits/stl_algo.h:2112:   instantiated from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:2178:   instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5222:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2069: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_algo.h:2073: error: incompatible types in assignment of ‘char*’ to ‘char [51]’
In file included from /usr/include/c++/4.4/bits/stl_algo.h:62,
                 from /usr/include/c++/4.4/algorithm:62,
                 from work/source:3:
/usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::make_heap(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’:
/usr/include/c++/4.4/bits/stl_algo.h:1904:   instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5067:   instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:2256:   instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = char (*)[51], _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_heap.h:393: error: array must be initialized with a brace-enclosed initializer
/usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’:
/usr/include/c++/4.4/bits/stl_algo.h:1907:   instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5067:   instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:2256:   instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = char (*)[51], _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_heap.h:258: error: array must be initialized with a brace-enclosed initializer
/usr/include/c++/4.4/bits/stl_heap.h:259: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = char (*)[51], _Distance = int, _Tp = char*]’:
/usr/include/c++/4.4/bits/stl_heap.h:394:   instantiated from ‘void std::make_heap(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:1904:   instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5067:   instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:2256:   instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = char (*)[51], _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_heap.h:234: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_heap.h:240: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = char (*)[51], _Distance = int, _Tp = char*]’:
/usr/include/c++/4.4/bits/stl_heap.h:244:   instantiated from ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = char (*)[51], _Distance = int, _Tp = char*]’
/usr/include/c++/4.4/bits/stl_heap.h:394:   instantiated from ‘void std::make_heap(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:1904:   instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:5067:   instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = char (*)[51]]’
/usr/include/c++/4.4/bits/stl_algo.h:2256:   instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = char (*)[51], _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220:   instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[51]]’
work/source:26:   instantiated from here
/usr/include/c++/4.4/bits/stl_heap.h:136: error: invalid array assignment
/usr/include/c++/4.4/bits/stl_heap.h:140: error: incompatible types in assignment of ‘char*’ to ‘char [51]’
