Algorithms, Programming, Combinatorics, CS Theory, Puzzles etc.
template <class T> T gcd (T a, T b){ return b != 0 ? gcd(b, a%b) : a; }
No comments:
Post a Comment