Skip to content

Instantly share code, notes, and snippets.

@sudo-panda
Last active August 11, 2020 16:23
Show Gist options
  • Select an option

  • Save sudo-panda/618504ba41e14524ce9652760800f192 to your computer and use it in GitHub Desktop.

Select an option

Save sudo-panda/618504ba41e14524ce9652760800f192 to your computer and use it in GitHub Desktop.
C++ tips to get around TLE : erase_if() template
v.erase(std::remove_if(v.begin(), v.end(), predicate), v.end());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment