Borderou de evaluare (job #2242759)

Utilizator AureluDauCuSpeluBizaru Andrei AureluDauCuSpelu Data 19 septembrie 2018 14:51:38
Problema Transport Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:5: error: expected ‘,’ or ‘;’ before ‘int’ int a, b, c=0, d=1, n; ^~~ user.cpp:10:10: error: ‘a’ was not declared in this scope cin>>a>>b; ^ user.cpp:10:13: error: ‘b’ was not declared in this scope cin>>a>>b; ^ user.cpp:13:14: error: ‘n’ was not declared in this scope cin>>n; ^ user.cpp:14:9: error: ‘c’ was not declared in this scope c+=n; ^ user.cpp:16:11: error: ‘d’ was not declared in this scope while(d*b<c) ^ user.cpp:16:15: error: ‘c’ was not declared in this scope while(d*b<c) ^ user.cpp:20:8: error: ‘d’ was not declared in this scope if(d*b==c) ^ user.cpp:20:13: error: ‘c’ was not declared in this scope if(d*b==c) ^ user.cpp:22:5: error: ‘d’ was not declared in this scope d++; ^

Ceva nu functioneaza?