Borderou de evaluare (job #2338070)
Utilizator | Data | 6 februarie 2019 22:37:58 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:28:18: error: 'edge' was not declared in this scope
priority_queue < edge > Q1;
^~~~
main.cpp:28:23: error: template argument 1 is invalid
priority_queue < edge > Q1;
^
main.cpp:28:23: error: template argument 2 is invalid
main.cpp:28:23: error: template argument 3 is invalid
main.cpp: In function 'void dijkstra(int, int, int)':
main.cpp:37:9: warning: unused variable 'fl2' [-Wunused-variable]
int fl2=0;
^~~
main.cpp: In function 'int main()':
main.cpp:97:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
main.cpp:98:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
main.cpp:99:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:101:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&baze[i]);
^
main.cpp:102:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:105:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&t,&e);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !