Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit 388bdc3

Browse files
committed
remove useless includes
1 parent 8709579 commit 388bdc3

29 files changed

+0
-29
lines changed

BTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_BTree
2525
#define FUNC_BTree
2626

27-
#include <vector>
2827
#include <map>
2928
#include "utils.h"
3029

BinarySearchTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_BinarySearchTree
2525
#define FUNC_BinarySearchTree
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029
#include "BinaryTree.cpp"

BinaryTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_BinaryTree
2525
#define FUNC_BinaryTree
2626

27-
#include <vector>
2827
#include "utils.h"
2928
#include "printtree.h"
3029

BucketSort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_BucketSort
2525
#define FUNC_BucketSort
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029
#include "InsertSort.cpp"

ChainedHash.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_ChainedHash
2525
#define FUNC_ChainedHash
2626

27-
#include <vector>
2827
#include "utils.h"
2928
#include "LinkedList.cpp"
3029

CountingSort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_CountingSort
2525
#define FUNC_CountingSort
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
template <typename T>

CutRod.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#define CUT_ROD_INFO std::pair<T, std::vector<size_t>>
2828

29-
#include <vector>
3029
#include <iomanip>
3130
#include <map>
3231
#include "utils.h"

DirectAddress.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_DirectAddress
2525
#define FUNC_DirectAddress
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
template <typename T>

FibHeap.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_FibHeap
2525
#define FUNC_FibHeap
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
template <typename T>

Hash.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Hash
2525
#define FUNC_Hash
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
class DivisionHash {

HireAssistant.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_HireAssistant
2525
#define FUNC_HireAssistant
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029

InsertSort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_InsertSort
2525
#define FUNC_InsertSort
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
template <typename T>

IntervalTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_IntervalTree
2525
#define FUNC_IntervalTree
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029
#include "RedBlackTree.cpp"

LinkedList.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_LinkedList
2525
#define FUNC_LinkedList
2626

27-
#include <vector>
2827
#include <exception>
2928
#include "utils.h"
3029

MaxHeap.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_MaxHeap
2525
#define FUNC_MaxHeap
2626

27-
#include <vector>
2827
#include <exception>
2928
#include "utils.h"
3029

MergeSort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_MergeSort
2525
#define FUNC_MergeSort
2626

27-
#include <vector>
2827
#include <list>
2928
#include <cassert>
3029
#include "utils.h"

Minimum.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Minimum
2525
#define FUNC_Minimum
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
class Value {

OnLineMaximum.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_OnLineMaximum
2525
#define FUNC_OnLineMaximum
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include <algorithm>
3029
#include "utils.h"

OpenAddress.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_OpenAddress
2525
#define FUNC_OpenAddress
2626

27-
#include <vector>
2827
#include <exception>
2928
#include "utils.h"
3029

OrderStatisticTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_OrderStatisticTree
2525
#define FUNC_OrderStatisticTree
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029
#include "RedBlackTree.cpp"

Queue.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Queue
2525
#define FUNC_Queue
2626

27-
#include <vector>
2827
#include <exception>
2928
#include "utils.h"
3029

Quicksort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Quicksort
2525
#define FUNC_Quicksort
2626

27-
#include <vector>
2827
#include "utils.h"
2928

3029
template <typename T>

RadixSort.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_RadixSort
2525
#define FUNC_RadixSort
2626

27-
#include <vector>
2827
#include "utils.h"
2928
#include "CountingSort.cpp"
3029

RandomPermute.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_RandomPermute
2525
#define FUNC_RandomPermute
2626

27-
#include <vector>
2827
#include <map>
2928
#include "utils.h"
3029

RandomizedSelect.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_RandomizedSelect
2525
#define FUNC_RandomizedSelect
2626

27-
#include <vector>
2827
#include "utils.h"
2928
#include "Quicksort.cpp"
3029

RedBlackTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_RedBlackTree
2525
#define FUNC_RedBlackTree
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include "utils.h"
3029
#include "BinarySearchTree.cpp"

Select.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Select
2525
#define FUNC_Select
2626

27-
#include <vector>
2827
#include "utils.h"
2928
#include "InsertSort.cpp"
3029

Stack.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_Stack
2525
#define FUNC_Stack
2626

27-
#include <vector>
2827
#include <exception>
2928
#include "utils.h"
3029

StorageManage.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_StorageManage
2525
#define FUNC_StorageManage
2626

27-
#include <vector>
2827
#include <cassert>
2928
#include <exception>
3029
#include "utils.h"

0 commit comments

Comments
 (0)