Created
October 8, 2020 11:27
-
-
Save ampulhetadosaber/b1f867f182e871b8bfe82e1e2fdc015d to your computer and use it in GitHub Desktop.
This file contains 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
priority_queue<int> fila; | |
// Adiciona os elemntos em fila | |
fila.push(3); | |
fila.push(1); | |
fila.push(2); | |
// Ao final a priority queue vai conter os elementos 3, 2 e 1 nessa ordem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment