grid.cpp: In function 'void SortDisks(int)':
grid.cpp:19:6: error: ambiguating new declaration of 'void SortDisks(int)'
void SortDisks(int N_) {
^~~~~~~~~
In file included from grid.cpp:1:0:
grid.h:7:18: note: old declaration 'std::vector<int> SortDisks(int)'
std::vector<int> SortDisks(int N);
^~~~~~~~~
grid.cpp:30:26: error: 'Report' was not declared in this scope
for(int i=1; i<=N; i++) Report(sm[i]);
^~~~~~
grid.cpp:30:26: note: suggested alternative: 'short'
for(int i=1; i<=N; i++) Report(sm[i]);
^~~~~~
short