Borderou de evaluare (job #1400311)
Utilizator | Data | 25 martie 2015 11:04:55 | |
---|---|---|---|
Problema | Drumuri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool bellman()’:
user.cpp:39:23: error: ‘n’ was not declared in this scope
for(var i=0; i<=2*n+1; i++) {
^
user.cpp:40:17: error: ‘INF’ was not declared in this scope
DI[i] = INF;
^
user.cpp:45:8: error: invalid types ‘var {aka int}[var {aka int}]’ for array subscript
D[S] = 0;
^
user.cpp:46:5: error: ‘Q’ was not declared in this scope
Q.push(S);
^
user.cpp:64:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘var fmcm()’:
user.cpp:74:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:77:10: error: ‘n’ was not declared in this scope
fin>>n>>m;
^
user.cpp:77:13: error: ‘m’ was not declared in this scope
fin>>n>>m;
^
user.cpp:80:27: error: ‘INF’ was not declared in this scope
addEdge(S, in(i), INF, 1);
^
user.cpp:86:14: error: ‘a’ was not declared in this scope
fin>>a>>b;
^
user.cpp:86:17: error: ‘b’ was not declared in this scope
fin>>a>>b;
^
user.cpp:87:32: error: ‘INF’ was not declared in this scope
addEdge(out(a), in(b), INF, 0);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !