KingCobrass / contest_library

A library to use at online programmming contests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ algorithm contest library

This library is intented to be used in online contests, or on ACM-style competitions. The target is to make it portable, reusable and extremely easy to modify during the contest. The algorihtms are wrapped into classes/structs so they won't interfere with your functions and variables.

Contents:

  1. Dinic's maximum flow algorithm - dinic.cpp
  2. Turbo-matching - turbo_matching.cpp
  3. 2-SAT - 2sat.cpp
  4. FFT and polynomial multiplication - fft.cpp
  5. Number theory algorithms - number_theory.cpp
  6. (BONUS) algorithm contest template - template.cpp

About

A library to use at online programmming contests