Borderou de evaluare (job #2569963)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 4 martie 2020 14:28:03
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:179:3: error: 'vector' was not declared in this scope vector<Edge> edges; ^~~~~~ main.cpp:179:14: error: expected primary-expression before '>' token vector<Edge> edges; ^ main.cpp:179:16: error: 'edges' was not declared in this scope vector<Edge> edges; ^~~~~ main.cpp:204:17: error: unable to deduce 'auto&&' from 'edges' for (auto e : edges) { ^~~~~ main.cpp:162:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("elicoptere.in", "r", stdin); ^ main.cpp:163:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("elicoptere.out", "w", stdout); ^ main.cpp:167:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &cer, &n, &k); ^ main.cpp:172:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d", &x1, &y1, &x2, &y2, &x3, &y3); ^ Non zero exit status: 1

Ceva nu functioneaza?