maomao90's Library
A C++20 library for competitive programming.
Loading...
Searching...
No Matches
extended_gcd.hpp File Reference
#include <cassert>
#include <concepts>
#include "library/internal/type_traits.hpp"

Go to the source code of this file.

Namespaces

namespace  maomao90
 

Functions

template<signed_integral T>
requires internal::type_traits::is_64bit_or_less_v<T>
constexpr T maomao90::inv_gcd (T x, T mod)