GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mraggi/ContestLibrary: A collection of useful algorithms to use in contests.

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
Markdown
Markdown
 
 
cmake
cmake
 
 
external/googletest
external/googletest
 
 
include
include
 
 
src
src
 
 
tests
tests
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CMakeLists.txt
CMakeLists.txt
 
 
ContestLibrary.kdev4
ContestLibrary.kdev4
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build_book.sh
build_book.sh
 
 
clang-format-helper.sh
clang-format-helper.sh
 
 
clang-tidy-helper.sh
clang-tidy-helper.sh
 
 
coverage-build.sh
coverage-build.sh
 
 

Repository files navigation

Build Status Coverage Status license

Algorithms for Contests

A collection of useful algorithms to use in contests such as the ACM ICPC, hackerrank, etc.

See the printable booklet.

Run ./build_book.sh to build the book after modifying a source file. Note that some processing takes place, such a removing the "inline" keyword from .hpp files, as it is not needed in contests, where a single cpp file is submitted.

Requires:

  • pandoc
  • clang and clang-format
  • fd
  • latex
  • ?

TODO:

Already programmed, needs cleanup, etc.

  • Geometry: Points, lines, segments, convex hulls, etc.
  • Sequences: binomial, stirling numbers, etc.
  • Lagrange Interpolation
  • Polynomials, maybe fourier transforms
  • Simple matrices
  • Splay trees ("ropes")
  • String stuff: Suffix trees, etc.

Not yet programmed:

  • Segment Trees
  • Fenwick Trees
  • KD trees
  • ???

Thanks to:

  • All my students
  • ENES Morelia
  • Dr. Jaehyun Park, for releasing his code (for simplex and max flow) with MIT License

Contributing

We welcome contributions! We value clean, modern C++ Object Oriented code, so don't use C-style code, macros, etc. Don't worry about formatting (use whatever style you like), since we use clang-format and clang-tidy before commiting anything.

About

A collection of useful algorithms to use in contests.

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.