14 тарау. Алгоритмдер ..........................................................................................................373
Тізбектерді модификацияламайтын операциялар ........................................................374
adjacent_fi nd.................................................................................................................374
count, count_if ..............................................................................................................375
equal .............................................................................................................................376
fi nd, fi nd_if ...................................................................................................................376
fi nd_fi rst_of ..................................................................................................................377
fi nd_end ........................................................................................................................377
for_each ........................................................................................................................378
mismatch.......................................................................................................................378
search, search_n ............................................................................................................378
Тізбектермен орындалатын модификациялаушы операциялар ..................................379
copy, copy_backward ...................................................................................................380
fi ll, fi ll_n .......................................................................................................................381
generate, generate_n .....................................................................................................381
iter_swap, swap, swap_ranges ......................................................................................382
random_shuffl e .............................................................................................................382
remove, remove_if, remove_copy, remove_copy_if ....................................................383
replace, replace_if, replace_copy, replace_copy_if ......................................................385
reverse, reverse_copy ...................................................................................................386
rotate, rotate_copy ........................................................................................................386
transform.......................................................................................................................386
unique, unique_copy.....................................................................................................388
Сұрыптаумен байланысты алгоритмдер .......................................................................388
binary_search ................................................................................................................389
equal_range...................................................................................................................389
inplace_merge ...............................................................................................................390
503
lexicographical_compare ..............................................................................................390
lower_bound, upper_bound ..........................................................................................391
max, min .......................................................................................................................391
max_element, min_element ..........................................................................................391
merge ............................................................................................................................392
next_permutation, prev_permutation ...........................................................................392
nth_element ..................................................................................................................394
partial_sort, partial_sort_copy ......................................................................................394
partition, stable_partition ..............................................................................................395
sort, stable_sort .............................................................................................................395
Жиындармен жəне пирамидалармен жұмыс істеу алгоритмдері ...............................395
includes .........................................................................................................................396
set_intersection .............................................................................................................397
set_difference, set_symmetric_difference ....................................................................397
set_union.......................................................................................................................397
Жиындармен жұмыс істеу алгоритмдерін қолдану мысалы .......................................398
make_heap ....................................................................................................................399
pop_heap.......................................................................................................................399
push_heap .....................................................................................................................399
sort_heap.......................................................................................................................400
Достарыңызбен бөлісу: |