0_0_37796972_5554.cpp: In function 'void Solve()': 0_0_37796972_5554.cpp:103:38: error: 'sort' was not declared in this scope sort(rols.begin(), rols.end()); ^