code-library icon indicating copy to clipboard operation
code-library copied to clipboard

Templates, algorithms and data structures implemented and collected for programming contests.

Results 5 code-library issues
Sort by recently updated
recently updated
newest added

The Bigint template fails for multiplication of negative numbers. (Checked on Library checker). However manually changing to positive and assigning the sign later gives AC.

there is a bug on https://github.com/ShahjalalShohag/code-library/blob/main/Number%20Theory/Intersection%20of%20Arithmetic%20Progressions.cpp intersect(70, 13, 9, 7).first is 44 (its not right taking in consideration that the first element of the first AP is 70)

- added generalized template parameter - added documentation - added tested problems - added example usage

Most files do not contain generalized and well-documented codes. For example for the following segment tree code: ```c++ struct ST { int t[4 * N]; static const int inf =...