/lagrange-cpp

An algorithm that decomposes a natural number into the sum of 4 squared numbers written in C++. Note: an int array is used for acceleration. Faster than both its Java and Swift counterparts.

Primary LanguageC++

Lagrange-Theorem-CPP

An algorithm that decomposes a natural number into the sum of 4 squared numbers written in C++. Note: an int array is used for acceleration. Faster than both its Java and Swift counterparts.