bluedawnstar / algorithm_study

algorithms and data structures for coding contest (designed for 'copy & paste')
The Unlicense
53 stars 7 forks source link

Modular square root #81

Open bluedawnstar opened 4 years ago

bluedawnstar commented 4 years ago
bluedawnstar commented 4 years ago

https://en.wikipedia.org/wiki/Tonelli%E2%80%93Shanks_algorithm

bluedawnstar commented 3 years ago

https://github.com/zimpha/algorithmic-library/blob/master/cpp/mathematics/mod_sqrt.cc