Borderou de evaluare (job #1495046)
Utilizator | Data | 2 octombrie 2015 13:54:03 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:27: error: expected ‘]’ before ‘;’ token
int n,m,X,Y,d[7503],t[7503;
^
user.cpp:9:1: error: ‘queue’ does not name a type
queue<int>q;
^
user.cpp: In function ‘void BFS(int, int*)’:
user.cpp:29:5: error: ‘q’ was not declared in this scope
q.push(1);
^
user.cpp:34:13: error: ‘k’ was not declared in this scope
for(k=0;k<a[i].size();++k)
^
user.cpp: In function ‘void Solutie()’:
user.cpp:51:12: error: ‘t’ was not declared in this scope
if(t[i] + d[i]!=t[Y])
^
user.cpp:53:5: error: ‘t’ was not declared in this scope
t[0]=-2;
^
user.cpp:58:1: error: expected ‘,’ or ‘;’ before ‘}’ token
}
^
user.cpp: In function ‘int main()’:
user.cpp:63:11: error: ‘t’ was not declared in this scope
BFS(X,t);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !