Borderou de evaluare (job #2646493)
| Utilizator | Data | 1 septembrie 2020 12:59:58 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:9:10: error: 'boo' was not declared in this scope
vector < boo > f(DIM);
^~~
main.cpp:9:14: error: template argument 1 is invalid
vector < boo > f(DIM);
^
main.cpp:9:14: error: template argument 2 is invalid
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:22:14: error: 'v' was not declared in this scope
if(f[v] == true) continue;
^
main.cpp:23:11: error: 'v' was not declared in this scope
f[v] ^= 1;
^
main.cpp: In function 'int main()':
main.cpp:44:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
main.cpp:45:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
main.cpp:49:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:53:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &w);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
