Borderou de evaluare (job #3124265)
Utilizator | Data | 27 aprilie 2023 16:27:49 | |
---|---|---|---|
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 calcul(long long int, long long int)':
main.cpp:13:24: error: 'c' was not declared in this scope
13 | return x*x%c;
| ^
main.cpp:15:24: error: 'c' was not declared in this scope
15 | return x*x%c*a%c;
| ^
main.cpp: In function 'int main()':
main.cpp:20:16: error: 'c' was not declared in this scope
20 | fin>>a>>b>>c;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !