MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator +

Method operator +

code/mathematics/berlekamp_massey.test.cpp:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 x = (_x % 1000000007 + 1000000007) % 1000000007;
8 }
9 Mod operator +(const Mod &other) const {
10 return x + other.x;
11 }
12 Mod operator -(const Mod &other) const {
13 return x - other.x;
14 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected