0_0_30606880_30789.cpp: In function 'void Solve()': 0_0_30606880_30789.cpp:28:32: error: 'sort' was not declared in this scope sort(p.begin(), p.end()); ^