Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 212 Bytes

File metadata and controls

10 lines (7 loc) · 212 Bytes

Algorithm

A small C++ implementation of heapsort. The program reads an array from standard input, sorts it, and prints the result.

Build and run

clang++ -std=c++17 -O2 -o main main.cpp
./main