Borderou de evaluare (job #1690888)
Utilizator | Data | 16 aprilie 2016 09:19:06 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:7: error: ‘nmax’ does not name a type
const nmax = 7501;
^
user.cpp:6:17: error: ‘nmax’ was not declared in this scope
typedef int sir[nmax];
^
user.cpp:8:7: error: ‘nmax’ was not declared in this scope
nod v[nmax];
^
user.cpp:9:37: error: ‘nmax’ was not declared in this scope
int *dx, *dy, *num, *vertex, *at, l[nmax];
^
user.cpp: In function ‘void bfs(int, int*)’:
user.cpp:16:31: error: ‘setmem’ was not declared in this scope
setmem(d,(n+1)*sizeof(int),0);
^
user.cpp:18:3: error: ‘l’ was not declared in this scope
l[1]=x; d[x]=1;
^
user.cpp:22:10: error: ‘v’ was not declared in this scope
p = v[l[i]];
^
user.cpp:15:9: warning: unused variable ‘q’ [-Wunused-variable]
nod p,q;
^
user.cpp: At global scope:
user.cpp:38:11: error: ‘::main’ must return ‘int’
void main()
^
user.cpp: In function ‘int main()’:
user.cpp:45:16: error: ‘v’ was not declared in this scope
p->next = v[xx];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !