MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / add

Function add

Codeforces_problems/Two Platforms/solution.cpp:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51#define FOR(i,j,k,l) for(int i=j;i<k;i+=l)
52#define REP(i,j) FOR(i,0,j,1)
53inline ll add(ll a, ll b){a += b; if(a >= MOD)a -= MOD; return a;}
54inline ll sub(ll a, ll b){a -= b; if(a < 0)a += MOD; return a;}
55inline ll mul(ll a, ll b){return (ll)((ll) a * b %MOD);}
56typedef vector<ll> vl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected