Borderou de evaluare (job #2292853)

Utilizator miruna1224Floroiu Miruna miruna1224 Data 30 noiembrie 2018 03:03:06
Problema Ecuatii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:20:32: warning: right operand of comma operator has no effect [-Wunused-value] for ( x2 = -50, x2 <= 50; x2 ++) ~~~^~~~~ main.cpp:20:44: error: expected ';' before ')' token for ( x2 = -50, x2 <= 50; x2 ++) ^ main.cpp:23:33: error: 'pow' was not declared in this scope s = pow(x1,3)*a1 + pow(x2,3)*a2; ^ main.cpp:28:32: warning: right operand of comma operator has no effect [-Wunused-value] for ( x4 = -50, x4 <= 50; x4 ++) ~~~^~~~~ main.cpp:28:44: error: expected ';' before ')' token for ( x4 = -50, x4 <= 50; x4 ++) ^ main.cpp:32:37: error: 'pow' was not declared in this scope s = pow(x3,3)*a3 + pow(x4,3)*a4 + pow(x5,3)*a5; ^ Non zero exit status: 1

Ceva nu functioneaza?