Borderou de evaluare (job #3292123)
Utilizator | Data | 7 aprilie 2025 10:05:07 | |
---|---|---|---|
Problema | ClassicTask | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'long long int Task::fast_pow(long long int, long long int, long long int)':
main.cpp:24:17: error: 'm' was not declared in this scope; did you mean 'tm'?
24 | base %= m;
| ^
| tm
main.cpp:26:24: error: 'b' was not declared in this scope
26 | while (b > 0) {
| ^
main.cpp:28:45: error: 'a' was not declared in this scope
28 | res = res * a % m;
| ^
main.cpp:29:25: error: 'a' was not declared in this scope
29 | a = a * a % m;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !