├── .gitignore ├── README.md ├── code ├── DP │ ├── DeQ.cpp │ ├── DynamicHull.cpp │ ├── Knuth.cpp │ ├── LiChaoTree.cpp │ └── LineContainer.cpp ├── DataStructures │ ├── BIT.cpp │ ├── BIT2D.cpp │ ├── ColorUpdate.cpp │ ├── CompressedBIT2D.cpp │ ├── KDTree.cpp │ ├── LinkCutTree.cpp │ ├── MaxQueue.cpp │ ├── PersistentTreap.cpp │ ├── PolicyBased.cpp │ ├── SegmentTree.cpp │ ├── SegmentTreeIterative.cpp │ ├── SegmentTreeIterativeLazy.cpp │ ├── SegmentTreeIterativeReversed.cpp │ ├── SegmentTreeLazy.cpp │ ├── SegmentTreePersistent.cpp │ ├── SparseTable.cpp │ └── Treap.cpp ├── Geometry │ ├── 3dkinho.cpp │ ├── ClosestPair.cpp │ ├── ConvexHull.cpp │ ├── CutPolygon.cpp │ ├── Delaunay.cpp │ ├── Geometry.cpp │ ├── HalfPlaneIntersection.cpp │ ├── IntersectionPoints.cpp │ ├── JavaAWT.java │ ├── MaxSegOverlap.cpp │ ├── Minkowski.cpp │ ├── SpanningCircle.cpp │ └── Voronoi.cpp ├── Graph │ ├── Arborescence.cpp │ ├── BFS.cpp │ ├── BiconnectedComponents.cpp │ ├── Blossom.cpp │ ├── Boruvka.cpp │ ├── Burunduk.cpp │ ├── CentroidDecomposition.cpp │ ├── DFS.cpp │ ├── Dijkstra.cpp │ ├── Dinic.cpp │ ├── DisjointSet.cpp │ ├── EulerPath.cpp │ ├── FastLCA.cpp │ ├── FloydWarshall.cpp │ ├── HLD.cpp │ ├── Hungarian.cpp │ ├── Kruskal.cpp │ ├── LCA.cpp │ ├── LCT-aresta.cpp │ ├── LCT-vertice.cpp │ ├── LCT.cpp │ ├── MinCostMaxFlow.cpp │ ├── SCC.cpp │ ├── Sack.cpp │ ├── SimpleDisjointSet.cpp │ ├── VertexCover.cpp │ ├── bipartite_check.cpp │ ├── dominator.cpp │ └── kuhn.cpp ├── Math │ ├── BerlekampMassey.cpp │ ├── CRT.cpp │ ├── DetMod.cpp │ ├── Diophantine.cpp │ ├── DiscreteLog.cpp │ ├── DiscreteRoot.cpp │ ├── DivisionTrick.cpp │ ├── ExtendedEuclides.cpp │ ├── FFT.cpp │ ├── FastExp.cpp │ ├── FastWalshHadamardTransform.cpp │ ├── GCD.cpp │ ├── Gauss.cpp │ ├── Lagrange.cpp │ ├── LagrangeQuadratic.cpp │ ├── LinearSieve.cpp │ ├── Matrix.cpp │ ├── MillerAndRho.cpp │ ├── MillerRabbinProposal.cpp │ ├── ModularSum.cpp │ ├── NTT.cpp │ ├── PrimeCounting.cpp │ ├── PrimitiveRoot.cpp │ ├── Sieve.cpp │ ├── first_coef_exp.cpp │ ├── integerPoints.cpp │ └── xor_gauss.cpp ├── Miscellaneous │ ├── BinarySearch.cpp │ ├── CountSort.cpp │ ├── Dates.cpp │ ├── FastIO.java │ ├── LIS.cpp │ ├── LatLong.cpp │ ├── MasksByBitcount.cpp │ ├── Mo.cpp │ ├── Random.cpp │ ├── Rect.cpp │ ├── Regex.java │ ├── SafeHash.cpp │ ├── SosDP.cpp │ ├── StableMarriage.cpp │ ├── SubmaskEnumeration.cpp │ ├── SubsetSum.cpp │ ├── TernarySearch.cpp │ └── UnorderedMapTricks.cpp ├── String │ ├── Aho-Corasick.cpp │ ├── Hash.cpp │ ├── KMP.cpp │ ├── KmpAutomaton.cpp │ ├── Manacher.cpp │ ├── PolishNotation.cpp │ ├── StringAlignment.cpp │ ├── SuffixArray.cpp │ ├── SuffixAutomaton.cpp │ ├── SuffixTree.cpp │ ├── Trie.cpp │ └── ZAlgorithm.cpp └── Theorems │ ├── DP.txt │ ├── Geometry.txt │ ├── Graph.txt │ ├── Math.txt │ └── Mersenne.txt ├── contents.txt ├── generate_pdf.py ├── notebook.pdf └── notebook.tex /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/README.md -------------------------------------------------------------------------------- /code/DP/DeQ.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DP/DeQ.cpp -------------------------------------------------------------------------------- /code/DP/DynamicHull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DP/DynamicHull.cpp -------------------------------------------------------------------------------- /code/DP/Knuth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DP/Knuth.cpp -------------------------------------------------------------------------------- /code/DP/LiChaoTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DP/LiChaoTree.cpp -------------------------------------------------------------------------------- /code/DP/LineContainer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DP/LineContainer.cpp -------------------------------------------------------------------------------- /code/DataStructures/BIT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/BIT.cpp -------------------------------------------------------------------------------- /code/DataStructures/BIT2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/BIT2D.cpp -------------------------------------------------------------------------------- /code/DataStructures/ColorUpdate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/ColorUpdate.cpp -------------------------------------------------------------------------------- /code/DataStructures/CompressedBIT2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/CompressedBIT2D.cpp -------------------------------------------------------------------------------- /code/DataStructures/KDTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/KDTree.cpp -------------------------------------------------------------------------------- /code/DataStructures/LinkCutTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/LinkCutTree.cpp -------------------------------------------------------------------------------- /code/DataStructures/MaxQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/MaxQueue.cpp -------------------------------------------------------------------------------- /code/DataStructures/PersistentTreap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/PersistentTreap.cpp -------------------------------------------------------------------------------- /code/DataStructures/PolicyBased.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/PolicyBased.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTree.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTreeIterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTreeIterative.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTreeIterativeLazy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTreeIterativeLazy.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTreeIterativeReversed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTreeIterativeReversed.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTreeLazy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTreeLazy.cpp -------------------------------------------------------------------------------- /code/DataStructures/SegmentTreePersistent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SegmentTreePersistent.cpp -------------------------------------------------------------------------------- /code/DataStructures/SparseTable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/SparseTable.cpp -------------------------------------------------------------------------------- /code/DataStructures/Treap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/DataStructures/Treap.cpp -------------------------------------------------------------------------------- /code/Geometry/3dkinho.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/3dkinho.cpp -------------------------------------------------------------------------------- /code/Geometry/ClosestPair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/ClosestPair.cpp -------------------------------------------------------------------------------- /code/Geometry/ConvexHull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/ConvexHull.cpp -------------------------------------------------------------------------------- /code/Geometry/CutPolygon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/CutPolygon.cpp -------------------------------------------------------------------------------- /code/Geometry/Delaunay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/Delaunay.cpp -------------------------------------------------------------------------------- /code/Geometry/Geometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/Geometry.cpp -------------------------------------------------------------------------------- /code/Geometry/HalfPlaneIntersection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/HalfPlaneIntersection.cpp -------------------------------------------------------------------------------- /code/Geometry/IntersectionPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/IntersectionPoints.cpp -------------------------------------------------------------------------------- /code/Geometry/JavaAWT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/JavaAWT.java -------------------------------------------------------------------------------- /code/Geometry/MaxSegOverlap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/MaxSegOverlap.cpp -------------------------------------------------------------------------------- /code/Geometry/Minkowski.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/Minkowski.cpp -------------------------------------------------------------------------------- /code/Geometry/SpanningCircle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/SpanningCircle.cpp -------------------------------------------------------------------------------- /code/Geometry/Voronoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Geometry/Voronoi.cpp -------------------------------------------------------------------------------- /code/Graph/Arborescence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Arborescence.cpp -------------------------------------------------------------------------------- /code/Graph/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/BFS.cpp -------------------------------------------------------------------------------- /code/Graph/BiconnectedComponents.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/BiconnectedComponents.cpp -------------------------------------------------------------------------------- /code/Graph/Blossom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Blossom.cpp -------------------------------------------------------------------------------- /code/Graph/Boruvka.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Boruvka.cpp -------------------------------------------------------------------------------- /code/Graph/Burunduk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Burunduk.cpp -------------------------------------------------------------------------------- /code/Graph/CentroidDecomposition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/CentroidDecomposition.cpp -------------------------------------------------------------------------------- /code/Graph/DFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/DFS.cpp -------------------------------------------------------------------------------- /code/Graph/Dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Dijkstra.cpp -------------------------------------------------------------------------------- /code/Graph/Dinic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Dinic.cpp -------------------------------------------------------------------------------- /code/Graph/DisjointSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/DisjointSet.cpp -------------------------------------------------------------------------------- /code/Graph/EulerPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/EulerPath.cpp -------------------------------------------------------------------------------- /code/Graph/FastLCA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/FastLCA.cpp -------------------------------------------------------------------------------- /code/Graph/FloydWarshall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/FloydWarshall.cpp -------------------------------------------------------------------------------- /code/Graph/HLD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/HLD.cpp -------------------------------------------------------------------------------- /code/Graph/Hungarian.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Hungarian.cpp -------------------------------------------------------------------------------- /code/Graph/Kruskal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Kruskal.cpp -------------------------------------------------------------------------------- /code/Graph/LCA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/LCA.cpp -------------------------------------------------------------------------------- /code/Graph/LCT-aresta.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/LCT-aresta.cpp -------------------------------------------------------------------------------- /code/Graph/LCT-vertice.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/LCT-vertice.cpp -------------------------------------------------------------------------------- /code/Graph/LCT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/LCT.cpp -------------------------------------------------------------------------------- /code/Graph/MinCostMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/MinCostMaxFlow.cpp -------------------------------------------------------------------------------- /code/Graph/SCC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/SCC.cpp -------------------------------------------------------------------------------- /code/Graph/Sack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/Sack.cpp -------------------------------------------------------------------------------- /code/Graph/SimpleDisjointSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/SimpleDisjointSet.cpp -------------------------------------------------------------------------------- /code/Graph/VertexCover.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/VertexCover.cpp -------------------------------------------------------------------------------- /code/Graph/bipartite_check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/bipartite_check.cpp -------------------------------------------------------------------------------- /code/Graph/dominator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/dominator.cpp -------------------------------------------------------------------------------- /code/Graph/kuhn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Graph/kuhn.cpp -------------------------------------------------------------------------------- /code/Math/BerlekampMassey.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/BerlekampMassey.cpp -------------------------------------------------------------------------------- /code/Math/CRT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/CRT.cpp -------------------------------------------------------------------------------- /code/Math/DetMod.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/DetMod.cpp -------------------------------------------------------------------------------- /code/Math/Diophantine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/Diophantine.cpp -------------------------------------------------------------------------------- /code/Math/DiscreteLog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/DiscreteLog.cpp -------------------------------------------------------------------------------- /code/Math/DiscreteRoot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/DiscreteRoot.cpp -------------------------------------------------------------------------------- /code/Math/DivisionTrick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/DivisionTrick.cpp -------------------------------------------------------------------------------- /code/Math/ExtendedEuclides.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/ExtendedEuclides.cpp -------------------------------------------------------------------------------- /code/Math/FFT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/FFT.cpp -------------------------------------------------------------------------------- /code/Math/FastExp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/FastExp.cpp -------------------------------------------------------------------------------- /code/Math/FastWalshHadamardTransform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/FastWalshHadamardTransform.cpp -------------------------------------------------------------------------------- /code/Math/GCD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/GCD.cpp -------------------------------------------------------------------------------- /code/Math/Gauss.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/Gauss.cpp -------------------------------------------------------------------------------- /code/Math/Lagrange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/Lagrange.cpp -------------------------------------------------------------------------------- /code/Math/LagrangeQuadratic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/LagrangeQuadratic.cpp -------------------------------------------------------------------------------- /code/Math/LinearSieve.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/LinearSieve.cpp -------------------------------------------------------------------------------- /code/Math/Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/Matrix.cpp -------------------------------------------------------------------------------- /code/Math/MillerAndRho.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/MillerAndRho.cpp -------------------------------------------------------------------------------- /code/Math/MillerRabbinProposal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/MillerRabbinProposal.cpp -------------------------------------------------------------------------------- /code/Math/ModularSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/ModularSum.cpp -------------------------------------------------------------------------------- /code/Math/NTT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/NTT.cpp -------------------------------------------------------------------------------- /code/Math/PrimeCounting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/PrimeCounting.cpp -------------------------------------------------------------------------------- /code/Math/PrimitiveRoot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/PrimitiveRoot.cpp -------------------------------------------------------------------------------- /code/Math/Sieve.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/Sieve.cpp -------------------------------------------------------------------------------- /code/Math/first_coef_exp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/first_coef_exp.cpp -------------------------------------------------------------------------------- /code/Math/integerPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/integerPoints.cpp -------------------------------------------------------------------------------- /code/Math/xor_gauss.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Math/xor_gauss.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/BinarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/BinarySearch.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/CountSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/CountSort.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/Dates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/Dates.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/FastIO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/FastIO.java -------------------------------------------------------------------------------- /code/Miscellaneous/LIS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/LIS.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/LatLong.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/LatLong.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/MasksByBitcount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/MasksByBitcount.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/Mo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/Mo.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/Random.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/Random.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/Rect.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/Rect.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/Regex.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/Regex.java -------------------------------------------------------------------------------- /code/Miscellaneous/SafeHash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/SafeHash.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/SosDP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/SosDP.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/StableMarriage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/StableMarriage.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/SubmaskEnumeration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/SubmaskEnumeration.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/SubsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/SubsetSum.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/TernarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/TernarySearch.cpp -------------------------------------------------------------------------------- /code/Miscellaneous/UnorderedMapTricks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Miscellaneous/UnorderedMapTricks.cpp -------------------------------------------------------------------------------- /code/String/Aho-Corasick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/Aho-Corasick.cpp -------------------------------------------------------------------------------- /code/String/Hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/Hash.cpp -------------------------------------------------------------------------------- /code/String/KMP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/KMP.cpp -------------------------------------------------------------------------------- /code/String/KmpAutomaton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/KmpAutomaton.cpp -------------------------------------------------------------------------------- /code/String/Manacher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/Manacher.cpp -------------------------------------------------------------------------------- /code/String/PolishNotation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/PolishNotation.cpp -------------------------------------------------------------------------------- /code/String/StringAlignment.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/StringAlignment.cpp -------------------------------------------------------------------------------- /code/String/SuffixArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/SuffixArray.cpp -------------------------------------------------------------------------------- /code/String/SuffixAutomaton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/SuffixAutomaton.cpp -------------------------------------------------------------------------------- /code/String/SuffixTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/SuffixTree.cpp -------------------------------------------------------------------------------- /code/String/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/Trie.cpp -------------------------------------------------------------------------------- /code/String/ZAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/String/ZAlgorithm.cpp -------------------------------------------------------------------------------- /code/Theorems/DP.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Theorems/DP.txt -------------------------------------------------------------------------------- /code/Theorems/Geometry.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Theorems/Geometry.txt -------------------------------------------------------------------------------- /code/Theorems/Graph.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Theorems/Graph.txt -------------------------------------------------------------------------------- /code/Theorems/Math.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Theorems/Math.txt -------------------------------------------------------------------------------- /code/Theorems/Mersenne.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/code/Theorems/Mersenne.txt -------------------------------------------------------------------------------- /contents.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/contents.txt -------------------------------------------------------------------------------- /generate_pdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/generate_pdf.py -------------------------------------------------------------------------------- /notebook.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/notebook.pdf -------------------------------------------------------------------------------- /notebook.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpessoa1/ICPC-Library/HEAD/notebook.tex --------------------------------------------------------------------------------