Thread: October 2020
View Single Post
Old 2020-10-01, 18:46   #3
Sep 2017

22·52 Posts

The question is also ill-posed, needs many clarifications. For example: how does the algorithm will work for negative integers? Return value of modulo operation changes from one programming language to another.
SmartMersenne is offline   Reply With Quote