Borderou de evaluare (job #2177544)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 18 martie 2018 17:39:03
Problema Greutati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:41:1: error: expected unqualified-id before numeric constant 2 ^ user.cpp: In function ‘int raiseMod(int, int)’: user.cpp:47:39: error: ‘MOD’ was not declared in this scope ans = (1LL * ans * aux) % MOD; ^ user.cpp:48:35: error: ‘MOD’ was not declared in this scope aux = (1LL * aux * aux) % MOD; ^ user.cpp: In function ‘int main()’: user.cpp:83:75: error: ‘MOD’ was not declared in this scope excessMod = (1LL * excessMod * raiseMod(2, whereExcess - expo)) % MOD; ^ user.cpp:110:60: error: ‘MOD’ was not declared in this scope cout << (1LL * excessMod * raiseMod(2, whereExcess)) % MOD << endl; ^

Ceva nu functioneaza?