MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / Mod

Method Mod

code/mathematics/berlekamp_massey.test.cpp:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4struct Mod {
5 ll x;
6 Mod(ll _x = 0) {
7 x = (_x % 1000000007 + 1000000007) % 1000000007;
8 }
9 Mod operator +(const Mod &other) const {
10 return x + other.x;
11 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected