Borderou de evaluare (job #2071392)

Utilizator capmareAlexCapmare Alex capmareAlex Data 20 noiembrie 2017 17:28:42
Problema Ecuatii 2 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:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(s)if(ok)s2+=s;else s2-=s; ^ user.cpp:35:27: error: ‘fout’ was not declared in this scope if(x1==x2&&s1==s2)fout<<"infinit"; ^ user.cpp:36:32: error: ‘fout’ was not declared in this scope else if(x1==x2&&s1!=s2)fout<<"imposibil"; ^ user.cpp:41:13: error: ‘fout’ was not declared in this scope fout<<fixed<<setprecision(4)<<r; ^ user.cpp:43:9: error: ‘fout’ was not declared in this scope fout<<endl; ^

Ceva nu functioneaza?