Mai intai trebuie sa te autentifici.

Borderou de evaluare (job #1580860)

Utilizator octavian.ionescuionescu octavian octavian.ionescu Data 26 ianuarie 2016 10:59:44
Problema A+B 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:8:5: error: expected ‘;’ before ‘freopen’ freopen("aa+b.out","w",stdout) ^ user.cpp:11:10: error: ‘a’ was not declared in this scope cin>>a; ^ user.cpp:12:10: error: ‘b’ was not declared in this scope cin>>b; ^ user.cpp:13:5: error: ‘sum’ was not declared in this scope sum=a+b; ^ user.cpp:10:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] int sum=0,a,b; ^

Ceva nu functioneaza?