Last active
August 11, 2020 16:23
-
-
Save sudo-panda/618504ba41e14524ce9652760800f192 to your computer and use it in GitHub Desktop.
C++ tips to get around TLE : erase_if() template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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