-
Notifications
You must be signed in to change notification settings - Fork 0
/
teamnote.tex
140 lines (83 loc) · 2.69 KB
/
teamnote.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
\documentclass[10pt, a4paper]{article}
% \documentclass[10pt, landscape, a4paper, twocolumn]{article}
\setlength{\columnsep}{20pt}
\usepackage[left=1.0cm, right=1.0cm, top=1.5cm, bottom=1.0cm, headsep=0.4cm]{geometry}
\usepackage{kotex}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{fontspec}
\usepackage{xcolor}
\pagestyle{fancy}
\fancyhead[R]{\thepage}
\fancyhead[L]{SungKyunKwan University - RightButWrong}
\setmonofont{CascadiaCode.ttf}
% \setmainhangulfont{NanumMyeongjo}
\definecolor{grey}{RGB}{162, 162, 162}
\lstset{
basicstyle=\footnotesize\ttfamily,
breaklines=true,
breakindent=1.1em
}
\lstdefinestyle{mycpp}{
language=[GNU]C++,
keywordstyle=\color{blue},
commentstyle=\color{grey},
stringstyle=\color{orange},
}
\begin{document}
\tableofcontents
\section{Math}
\subsection{Power, Little Fermat Theorem, Combination}
\lstinputlisting[style=mycpp]{math.cpp}
\subsection{Extended Euclidean Algorithm}
\lstinputlisting[style=mycpp]{extented_euclidean.cpp}
\subsection{Euler's Phi Function}
\lstinputlisting[style=mycpp]{euler_phi.cpp}
\subsection{FFT(Fast Fourier Transform)}
\lstinputlisting[style=mycpp]{fft.cpp}
\subsection{2-SAT}
\lstinputlisting[style=mycpp]{2-sat.cpp}
\section{String}
\subsection{Suffix Array}
\lstinputlisting[style=mycpp]{suffix_array.cpp}
\subsection{KMP}
\lstinputlisting[style=mycpp]{kmp.cpp}
\subsection{Trie}
\lstinputlisting[style=mycpp]{trie.cpp}
\subsection{Manacher's Algorithm}
\lstinputlisting[style=mycpp]{manacher.cpp}
\section{Data Structure}
\subsection{Segment Tree with Lazy Propagation}
\lstinputlisting[style=mycpp]{segment_tree.cpp}
\subsection{Ordered Set}
\lstinputlisting[style=mycpp]{ordered_set.cpp}
\subsection{Merge Sort Tree}
\lstinputlisting[style=mycpp]{merge_sort_tree.cpp}
\subsection{Heavy Light Decomposition}
\lstinputlisting[style=mycpp]{hld.cpp}
\section{Graph}
\subsection{SCC: Tarjan's Algorithm}
\lstinputlisting[style=mycpp]{tarjan.cpp}
\subsection{SCC: Kosaraju's Algorithm}
\lstinputlisting[style=mycpp]{kosaraju.cpp}
% \subsection{Centroid of Tree}
% \lstinputlisting[style=mycpp]{}
\section{Flow}
\subsection{Dinic}
\lstinputlisting[style=mycpp]{dinic.cpp}
\subsection{Hopcroft-Karp}
\lstinputlisting[style=mycpp]{hopcroft_karp.cpp}
\subsection{MCMF(Min-Cost Max-Flow)}
** 역간선 dist-- 적기
\lstinputlisting[style=mycpp]{mcmf.cpp}
\section{DP}
\subsection{Convex Hull Trick}
\lstinputlisting[style=mycpp]{convexhull_trick.cpp}
% \subsection{Knuth Optimization}
% \lstinputlisting[style=mycpp]{}
\section{Geometry}
\subsection{CCW(CounterClockWise)}
\lstinputlisting[style=mycpp]{ccw.cpp}
\subsection{Rotating Calipers}
\lstinputlisting[style=mycpp]{rotating_calipers.cpp}
\end{document}