Website Summary Files Commits Branches @commit @diff @stats
path: root / Practicum / pract09
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Practicum/pract09/readme.md2
diff --git a/Practicum/pract09/readme.md b/Practicum/pract09/readme.md
index 3a760cd..58ee7dd 100644
--- a/Practicum/pract09/readme.md
+++ b/Practicum/pract09/readme.md
@@ -92,7 +92,7 @@ void pop_heap(RandomIt first, RandomIt last, Compare comp = Compare()) {
template <typename RandomIt, typename Compare = std::less<>>
bool is_heap(RandomIt first, RandomIt last, Compare comp = Compare()) {
- size_t size = last - first; // should usestd:: dist for when its not vector
+ size_t size = last - first; // should use std:: dist for when its not vector
for (size_t i = 0; i < size / 2; ++i) {
size_t leftChild = 2 * i + 1;