Borderou de evaluare (job #1887287)
| Utilizator | Data | 21 februarie 2017 15:04:30 | |
|---|---|---|---|
| Problema | Distante | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int djikstra(int, int*, int*, int, edge**)’:
user.cpp:41:22: error: variable-sized object ‘viz’ may not be initialized
int viz[n+1] = {0};
^
user.cpp:50:13: warning: unused variable ‘dmin’ [-Wunused-variable]
int dmin = pmin.second;
^
user.cpp: In function ‘int main()’:
user.cpp:109:29: error: variable-sized object ‘a’ may not be initialized
edge *a[n+1] = {NULL};
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
