Borderou de evaluare (job #1888577)
Utilizator | Data | 22 februarie 2017 11:07:36 | |
---|---|---|---|
Problema | Cerere | Status | done |
Runda | becreative21 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:19:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1; i<=a[nod].size();++i)
^
user.cpp:20:43: error: two consecutive ‘[’ shall only introduce an attribute before ‘[’ token
if(inteligent[a[nod][i]]==0 && viz[[nod][i]]==0){
^
user.cpp:20:43: error: expected ‘)’ before ‘[’ token
user.cpp: In function ‘int main()’:
user.cpp:32:18: warning: unused variable ‘c’ [-Wunused-variable]
int n, x, y,c, k=0;
^
user.cpp: In function ‘int dfs(int)’:
user.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !