mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 14:36:25 +08:00
chore: use iwyu on probablity/**.cpp
This commit is contained in:
@@ -19,14 +19,15 @@
|
||||
* @author [Domenic Zingsheim](https://github.com/DerAndereDomenic)
|
||||
*/
|
||||
|
||||
#include <cassert> /// for assert
|
||||
#include <cmath> /// for math functions
|
||||
#include <cstdint> /// for fixed size data types
|
||||
#include <ctime> /// for time to initialize rng
|
||||
#include <iostream> /// for std::cout
|
||||
#include <limits> /// for std::numeric_limits
|
||||
#include <random> /// for random numbers
|
||||
#include <vector> /// for std::vector
|
||||
#include <bits/std_abs.h> // for abs
|
||||
#include <stdlib.h> // for rand, srand, RAND_MAX
|
||||
#include <cassert> // for assert
|
||||
#include <cmath> // for log, pow, sqrt
|
||||
#include <cstdint> // for uint32_t
|
||||
#include <ctime> // for time
|
||||
#include <iostream> // for basic_ostream, char_traits, operator<<, cout
|
||||
#include <limits> // for numeric_limits
|
||||
#include <vector> // for vector
|
||||
|
||||
/**
|
||||
* @namespace probability
|
||||
|
||||
@@ -28,12 +28,13 @@
|
||||
* Time complexity: O(logN). Space complexity: O(N). N - size of window
|
||||
* @author [Yaniv Hollander](https://github.com/YanivHollander)
|
||||
*/
|
||||
#include <cassert> /// for assert
|
||||
#include <cstdlib> /// for std::rand - needed in testing
|
||||
#include <ctime> /// for std::time - needed in testing
|
||||
#include <list> /// for std::list - used to manage sliding window
|
||||
#include <set> /// for std::multiset - used to manage multi-value sorted sliding window values
|
||||
#include <vector> /// for std::vector - needed in testing
|
||||
#include <cassert> // for assert
|
||||
#include <cstdlib> // for rand, RAND_MAX, srand
|
||||
#include <ctime> // for time
|
||||
#include <list> // for _List_iterator, list
|
||||
#include <set> // for _Rb_tree_const_iterator, multiset
|
||||
#include <vector> // for vector
|
||||
#include <iterator> // for next
|
||||
|
||||
/**
|
||||
* @namespace probability
|
||||
|
||||
Reference in New Issue
Block a user