==3957065== Memcheck, a memory error detector ==3957065== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==3957065== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==3957065== Command: ./heapUpa ==3957065== TamMax Heap: 900 Sistema Heap, Heap, Upa! 0 - Desligar 1 - InsereHeap 2 - RemoveHeap 3 - BuildHeap 4 - HeapSort 5 - AlteraHeap 6 - ImprimeArvore 7 - ImprimeVetor 8 - EncheHeap 9 - RandomVet Inicializando Opcao: 8 EncheHeap Digite o numero de elementos: 900 Opcao: 9 RandomVet Digite o numero de elementos: 900 Opcao: 0 desligando ==3957065== ==3957065== HEAP SUMMARY: ==3957065== in use at exit: 0 bytes in 0 blocks ==3957065== total heap usage: 3,604 allocs, 3,604 frees, 66,644 bytes allocated ==3957065== ==3957065== All heap blocks were freed -- no leaks are possible ==3957065== ==3957065== For lists of detected and suppressed errors, rerun with: -s ==3957065== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)