00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
#ifndef _CPP_BACKWARD_ALGO_H
00057
#define _CPP_BACKWARD_ALGO_H 1
00058
00059
#include "backward_warning.h"
00060
#include "algobase.h"
00061
#include "tempbuf.h"
00062
#include "iterator.h"
00063
#include <bits/stl_algo.h>
00064
#include <bits/stl_numeric.h>
00065
#include <ext/algorithm>
00066
#include <ext/numeric>
00067
00068
00069
using std::for_each;
00070
using std::find;
00071
using std::find_if;
00072
using std::adjacent_find;
00073
using std::count;
00074
using std::count_if;
00075
using std::search;
00076
using std::search_n;
00077
using std::swap_ranges;
00078
using std::transform;
00079
using std::replace;
00080
using std::replace_if;
00081
using std::replace_copy;
00082
using std::replace_copy_if;
00083
using std::generate;
00084
using std::generate_n;
00085
using std::remove;
00086
using std::remove_if;
00087
using std::remove_copy;
00088
using std::remove_copy_if;
00089
using std::unique;
00090
using std::unique_copy;
00091
using std::reverse;
00092
using std::reverse_copy;
00093
using std::rotate;
00094
using std::rotate_copy;
00095
using std::random_shuffle;
00096
using std::partition;
00097
using std::stable_partition;
00098
using std::sort;
00099
using std::stable_sort;
00100
using std::partial_sort;
00101
using std::partial_sort_copy;
00102
using std::nth_element;
00103
using std::lower_bound;
00104
using std::upper_bound;
00105
using std::equal_range;
00106
using std::binary_search;
00107
using std::merge;
00108
using std::inplace_merge;
00109
using std::includes;
00110
using std::set_union;
00111
using std::set_intersection;
00112
using std::set_difference;
00113
using std::set_symmetric_difference;
00114
using std::min_element;
00115
using std::max_element;
00116
using std::next_permutation;
00117
using std::prev_permutation;
00118
using std::find_first_of;
00119
using std::find_end;
00120
00121
00122
using std::push_heap;
00123
using std::pop_heap;
00124
using std::make_heap;
00125
using std::sort_heap;
00126
00127
00128
using std::accumulate;
00129
using std::inner_product;
00130
using std::partial_sum;
00131
using std::adjacent_difference;
00132
00133
00134
using __gnu_cxx::random_sample;
00135
using __gnu_cxx::random_sample_n;
00136
using __gnu_cxx::is_sorted;
00137
using __gnu_cxx::is_heap;
00138
using __gnu_cxx::count;
00139
using __gnu_cxx::count_if;
00140
00141
00142
using __gnu_cxx::power;
00143
using __gnu_cxx::iota;
00144
00145
#endif
00146
00147
00148
00149