Problem skillmoves
User Henries
Submission Time 2024-10-17 09:58:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skillmoves.cpp: In function ‘void solve(std::vector<long long int>, long long int)’:
skillmoves.cpp:8:12: error: ‘v’ was not declared in this scope
8 | m.erase(v.begin());
| ^
skillmoves.cpp: In function ‘int main()’:
skillmoves.cpp:30:43: error: expected primary-expression before ‘)’ token
30 | sort(m.begin(),m.end(),greater<long long>);
| ^