La aceasta problema nu pot folosi biblioteca math? Am uploadat codul si erorile mele sunt acestea:
user.cpp:4:16: error: math: No such file or directory
user.cpp:27:2: warning: no newline at end of file
user.cpp: In function 'int suma(int)':
user.cpp:11: error: 'pow' was not declared in this scope