mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-09 13:39:17 +08:00
chore: use iwyu on backtracking/**.cpp
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <cassert> /// for assert
|
||||
#include <iostream> /// for I/O operation
|
||||
#include <vector> /// for vector container
|
||||
#include <cassert> // for assert
|
||||
#include <iostream> // for char_traits, operator<<, basic_ostream, cout
|
||||
#include <vector> // for allocator, vector, operator==
|
||||
#include <string> // for basic_string, string, operator+, operator==
|
||||
|
||||
/**
|
||||
* @brief Backtracking algorithms
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
|
||||
#include <array> /// for std::array
|
||||
#include <iostream> /// for IO operations
|
||||
#include <vector> /// for std::vector
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for operator<<, cout, basic_ostream, basic_ostream::...
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
* @author [Nikhil Arora](https://github.com/nikhilarora068)
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
#include <array> /// for std::array
|
||||
#include <iostream> /// for IO operations
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for char_traits, operator<<, basic_ostream, cout
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
* @author [Gleison Batista](https://github.com/gleisonbs)
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
#include <algorithm> /// for std::max, std::min
|
||||
#include <array> /// for std::array
|
||||
#include <cmath> /// for log2
|
||||
#include <iostream> /// for IO operations
|
||||
#include <algorithm> // for max, min
|
||||
#include <array> // for array
|
||||
#include <cmath> // for log2
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for char_traits, basic_ostream, basic_ostream::oper...
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -15,8 +15,9 @@
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*
|
||||
*/
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for operator<<, basic_ostream, cout, basic_ostream::...
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for cout, basic_ostream, endl, basic_ostream::operat...
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -7,8 +7,10 @@
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*
|
||||
*/
|
||||
#include <array> /// for std::array
|
||||
#include <iostream> /// for IO operations
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for cout, basic_ostream, endl, basic_ostream::operat...
|
||||
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
|
||||
#include <array> /// for std::array
|
||||
#include <cassert> /// for assert
|
||||
#include <iostream> /// for IO operations
|
||||
#include <array> // for array
|
||||
#include <cassert> // for assert
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for cout, basic_ostream, basic_ostream::operator<<
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -15,8 +15,10 @@
|
||||
* @author [DarthCoder3200](https://github.com/DarthCoder3200)
|
||||
* @author [David Leal](https://github.com/Panquesito7)
|
||||
*/
|
||||
#include <array> /// for assert
|
||||
#include <iostream> /// for IO operations
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for size_t
|
||||
#include <iostream> // for basic_ostream, char_traits, cout, operator<<
|
||||
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
@@ -11,10 +11,11 @@
|
||||
* @author [Swastika Gupta](https://github.com/Swastyy)
|
||||
*/
|
||||
|
||||
#include <cassert> /// for assert
|
||||
#include <cstdint> /// for integral typedefs
|
||||
#include <iostream> /// for IO operations
|
||||
#include <vector> /// for std::vector
|
||||
#include <cassert> // for assert
|
||||
#include <cstdint> // for uint32_t, int64_t
|
||||
#include <iostream> // for basic_ostream, operator<<, char_traits, cout, endl
|
||||
#include <vector> // for vector
|
||||
#include <string> // for basic_string, string
|
||||
|
||||
/**
|
||||
* @namespace backtracking
|
||||
|
||||
Reference in New Issue
Block a user