library

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

View the Project on GitHub shibh308/library

:warning: lib/functions/gcd.cpp

Code

auto gcd = [](i64 x, i64 y){
	while(y){
		i64 z = x % y;
		x = y;
		y = z;
	}
	return x;
};
#line 1 "lib/functions/gcd.cpp"
auto gcd = [](i64 x, i64 y){
	while(y){
		i64 z = x % y;
		x = y;
		y = z;
	}
	return x;
};
Back to top page