Borderou de evaluare (job #984310)

Utilizator Johny_Depp22Johnny Depp Johny_Depp22 Data 14 august 2013 00:55:56
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int next()’: user.cpp:15:11: error: ‘ind’ was not declared in this scope if (s[ind]=='-') semn=-1,ind++; ^ user.cpp:16:14: error: ‘ind’ was not declared in this scope while (s[ind]!=' ') nr=nr*10+s[ind]-'0', ind++; ^ user.cpp:17:5: error: ‘ind’ was not declared in this scope ind++; ^ user.cpp: In function ‘int main()’: user.cpp:25:10: error: ‘i’ was not declared in this scope for (i=1; i<=n; i++) a[i]=next(); ^

Ceva nu functioneaza?