Borderou de evaluare (job #2654943)
Utilizator | Data | 2 octombrie 2020 20:54:39 | |
---|---|---|---|
Problema | Ubuntzei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Djakstra(int)':
main.cpp:42:11: warning: unused variable 'w1' [-Wunused-variable]
int w,w1,c,y;
^~
main.cpp: In function 'void InitD()':
main.cpp:72:12: error: too many arguments to function 'void InitD()'
InitD(1);
^
main.cpp:61:6: note: declared here
void InitD(){
^~~~~
main.cpp:62:11: warning: unused variable 'nod' [-Wunused-variable]
int i,nod,stare;
^~~
main.cpp: In function 'void rez()':
main.cpp:88:13: error: 'dij' was not declared in this scope
dij[j]=INF;
^~~
main.cpp:90:9: error: 'dij' was not declared in this scope
dij[nod]=0;
^~~
main.cpp:93:28: error: 'a' was not declared in this scope
cost[i][j]=dij[a[j]];
^
main.cpp:97:24: error: 'smax' was not declared in this scope
for(stare=0;stare<=smax;stare++){
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !