Borderou de evaluare (job #1277641)

Utilizator yukinaDascalescu Dana yukina Data 27 noiembrie 2014 22:40:55
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream g("cmmdc.out") ^ user.cpp: In function ‘int main()’: user.cpp:9:8: error: ‘a’ was not declared in this scope f>>a>>b; ^ user.cpp:9:11: error: ‘b’ was not declared in this scope f>>a>>b; ^ user.cpp:10:16: error: ‘d’ was not declared in this scope if(a*b==0) d=a+b; ^ user.cpp:13:21: error: ‘r’ was not declared in this scope r=a%b; ^ user.cpp:17:5: error: ‘d’ was not declared in this scope d=a; ^ user.cpp:18:5: error: ‘g’ was not declared in this scope g<<d; ^

Ceva nu functioneaza?