Borderou de evaluare (job #1176128)

Utilizator cosgbCosmin cosgb Data 25 aprilie 2014 17:25:14
Problema Echilibru Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:40:2: error: ‘string’ was not declared in this scope string res = ""; ^ user.cpp:40:9: error: expected ‘;’ before ‘res’ string res = ""; ^ user.cpp:54:4: error: ‘res’ was not declared in this scope res += "1"; ^ user.cpp:56:4: error: ‘res’ was not declared in this scope res += "0"; ^ user.cpp:61:15: error: ‘res’ was not declared in this scope for (int i = res.size() - 1; i >= 0; i--) { ^ user.cpp:41:6: warning: unused variable ‘i’ [-Wunused-variable] int i, T, N, elem; ^

Ceva nu functioneaza?