Skip to content

Instantly share code, notes, and snippets.

@ampulhetadosaber
Created October 8, 2020 11:40
Show Gist options
  • Save ampulhetadosaber/c27f8c80556af30bb77e84136f4b83c3 to your computer and use it in GitHub Desktop.
Save ampulhetadosaber/c27f8c80556af30bb77e84136f4b83c3 to your computer and use it in GitHub Desktop.
priority_queue<int> fila;
fila.push(5);
fila.push(10);
cout << fila.size() << "\n"; // nesse caso, a fila tem 2 elementos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment