Borderou de evaluare (job #781462)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puteri2 (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 iul. 2024 17:15:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int putere(long long int, long long int)':
main.cpp:11:37: error: expected ')' before ';' token
11 | return (b * putere(b, e - 1);
| ~ ^
| )
main.cpp: In function 'int main()':
main.cpp:22:17: warning: unused variable 'p' [-Wunused-variable]
22 | int n, s=0, p;
| ^