CLI Application for easy copying from library
Download app from Releases page. Add it to PATH and use anywhere.
-
spc update - update library from sport-programming-library
-
-
filter [function, file]
$ spc get lcm -filter function template<typename T> T lcm(T a, T b) { return (a / gcd<T>(a, b)) * b; } $ spc get lcm -filter file template<typename T> T gcd(T a, T b) { while (a != 0) { b %= a; swap(a, b); } return b; } template<typename T> T lcm(T a, T b) { return (a / gcd<T>(a, b)) * b; } -