Borderou de evaluare (job #1246093)

Utilizator boghiu.mariusBoghiu Marius Cristian boghiu.marius Data 20 octombrie 2014 16:25:30
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:24:7: error: redeclaration of ‘int a’ int a = atoi(line.c_str()); ^ user.cpp:16:5: error: ‘int a’ previously declared here int a,b; ^ user.cpp:26:10: error: redeclaration of ‘int b’ int b = atoi(line.c_str()); ^ user.cpp:16:7: error: ‘int b’ previously declared here int a,b; ^

Ceva nu functioneaza?