ll add(ll x, ll y) { x += y; if (x >= MOD) return x - MOD; return x; } ll sub(ll x, ll y) { x -= y; if (x < 0) return x + MOD; return x; }
Standard input is empty
prog.cpp:1:1: error: ‘ll’ does not name a type ll add(ll x, ll y) { ^~ prog.cpp:6:1: error: ‘ll’ does not name a type ll sub(ll x, ll y) { ^~
Standard output is empty