foo.cpp:4:13: warning: anonymous type with no linkage used to declare variable '<anonymous struct> line [400000]' with linkage [enabled by default]
foo.cpp: In function 'void bfs()':
foo.cpp:34:9: error: no match for 'operator=' in 'line[t] = line'
foo.cpp:34:9: note: candidate is:
foo.cpp:2:7: note: <anonymous struct>&<anonymous struct>::operator=(const<anonymous struct>&)
foo.cpp:2:7: note: no known conversion for argument 1 from '<anonymous struct> [400000]' to 'const<anonymous struct>&'
foo.cpp:49:9: error: no match for 'operator=' in 'line[t] = line'
foo.cpp:49:9: note: candidate is:
foo.cpp:2:7: note: <anonymous struct>&<anonymous struct>::operator=(const<anonymous struct>&)
foo.cpp:2:7: note: no known conversion for argument 1 from '<anonymous struct> [400000]' to 'const<anonymous struct>&'
foo.cpp:51:36: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int*'
foo.cpp:21:6: error: in passing argument 2 of 'void swap(int&, int&)'