cp_library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub downerkei/cp_library

:heavy_check_mark: math/gcd.hpp

Verified with

Code

long long gcd(long long a, long long b) {
    if(b == 0) return a;
    return gcd(b, a % b);
}
#line 1 "math/gcd.hpp"
long long gcd(long long a, long long b) {
    if(b == 0) return a;
    return gcd(b, a % b);
}
Back to top page