Skip to content

Commit 16ee49e

Browse files
chore: use iwyu on divide_and_conquer/**.cpp
1 parent a3b719e commit 16ee49e

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
* @author [Ameer Carlo Lubang](https://github.com/poypoyan)
1313
*/
1414

15-
#include <cassert> /// for assert
16-
#include <cstring> /// for string
17-
#include <iostream> /// for IO operations
18-
#include <vector> /// for std::vector
15+
#include <stdint.h> // for int64_t
16+
#include <cassert> // for assert
17+
#include <iostream> // for basic_ostream, operator<<, char_traits, cout, endl
18+
#include <algorithm> // for max
19+
#include <string> // for basic_string, string
1920

2021
/**
2122
* @namespace divide_and_conquer

divide_and_conquer/strassen_matrix_multiplication.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
*
1111
* @author [AshishYUO](https://github.com/AshishYUO)
1212
*/
13-
#include <cassert> /// For assert operation
14-
#include <chrono> /// For std::chrono; time measurement
15-
#include <iostream> /// For I/O operations
16-
#include <tuple> /// For std::tuple
17-
#include <vector> /// For creating dynamic arrays
13+
#include <bits/chrono.h> // for duration, operator-, system_clock, time_point
14+
15+
#include <cassert> // for assert
16+
#include <cstddef> // for size_t
17+
#include <iostream> // for char_traits, basic_ostream, operator<<, cout
18+
#include <type_traits> // for enable_if, is_integral, is_floating_point
19+
#include <utility> // for operator==, pair
20+
#include <vector> // for vector
1821

1922
/**
2023
* @namespace divide_and_conquer

0 commit comments

Comments
 (0)