Borderou de evaluare (job #1984421)

Utilizator Bodo171Bogdan Pop Bodo171 Data 24 mai 2017 20:18:54
Problema Kdist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:29:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v[x].size();i++) ^ user.cpp:48:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v[x].size();i++) ^ user.cpp: In function ‘int getnum()’: user.cpp:62:5: error: ‘num’ was not declared in this scope num=0; ^ user.cpp:63:11: error: ‘s’ was not declared in this scope while(s[ch]>='0'&&s[ch]<='9') ^ user.cpp:63:13: error: ‘ch’ was not declared in this scope while(s[ch]>='0'&&s[ch]<='9') ^ user.cpp:68:5: error: ‘ch’ was not declared in this scope ch++; ^ user.cpp: In function ‘int main()’: user.cpp:75:15: error: ‘s’ was not declared in this scope getline(f,s);ch=0; ^ user.cpp:75:18: error: ‘ch’ was not declared in this scope getline(f,s);ch=0; ^ user.cpp: In function ‘int getnum()’: user.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?