Borderou de evaluare (job #1400627)
Utilizator | Data | 25 martie 2015 13:00:40 | |
---|---|---|---|
Problema | Petrica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void add(int, int)’:
user.cpp:5:5: error: ‘t’ was not declared in this scope
t++;
^
user.cpp:6:8: error: ‘st’ was not declared in this scope
if(st[x]==0){st[x]=t;}
^
user.cpp:7:10: error: ‘next’ was not declared in this scope
else{next[sf[x]]=t;}
^
user.cpp:7:15: error: ‘sf’ was not declared in this scope
else{next[sf[x]]=t;}
^
user.cpp:8:5: error: ‘sf’ was not declared in this scope
sf[x]=t;
^
user.cpp:9:5: error: ‘dest’ was not declared in this scope
dest[t]=y;
^
user.cpp:10:5: error: ‘next’ was not declared in this scope
next[t]=0;
^
user.cpp: In function ‘void parcurgere(int)’:
user.cpp:14:5: error: ‘viz’ was not declared in this scope
viz[nod]=1;
^
user.cpp:15:5: error: ‘r’ was not declared in this scope
r++;
^
user.cpp:17:5: error: ‘t’ was not declared in this scope
t++;
^
user.cpp:18:5: error: ‘p’ was not declared in this scope
p[t]=nod;
^
user.cpp:19:5: error: ‘rang’ was not declared in this scope
rang[t]=r;
^
user.cpp:20:5: error: ‘la’ was not declared in this scope
la[nod]=t;
^
user.cpp:22:11: error: ‘st’ was not declared in this scope
for(j=st[nod];j;j=next[j])
^
user.cpp:22:23: error: ‘next’ was not declared in this scope
for(j=st[nod];j;j=next[j])
^
user.cpp:24:16: error: ‘dest’ was not declared in this scope
if(viz[dest[j]]==0)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !