ShahjalalShohag / code-library

Templates, algorithms and data structures implemented and collected for programming contests.
MIT License
2.85k stars 751 forks source link

Bug #43

Closed DominicMohanu closed 1 month ago

DominicMohanu commented 9 months ago

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)

ShahjalalShohag commented 1 month ago

Fixed, thanks!