Borderou de evaluare (job #3253569)
Utilizator | Data | 3 noiembrie 2024 14:33:08 | |
---|---|---|---|
Problema | Ridicare la putere in timp logaritmic | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int fast_exp(long long int, long long int)':
main.cpp:14:37: error: 'MOD' was not declared in this scope
14 | long long p=fast_exp(a,b/2)%MOD;
| ^~~
main.cpp: In function 'int main()':
main.cpp:26:22: error: 'MOD' was not declared in this scope
26 | fout<<fast_exp(a%MOD,b);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !