Borderou de evaluare (job #1603926)

Utilizator GrandmasterSoucup Bogdan Grandmaster Data 17 februarie 2016 20:38:26
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:14: warning: missing terminating " character [enabled by default] ifstream cin("dijkstra.in); ^ user.cpp:16:1: error: missing terminating " character ifstream cin("dijkstra.in); ^ user.cpp:17:14: error: expected ‘,’ or ‘...’ before ‘(’ token ofstream cout("dijkstra.out"); ^ user.cpp:17:30: error: expected ‘)’ before ‘;’ token ofstream cout("dijkstra.out"); ^ user.cpp: In function ‘void dijk(int*, int)’: user.cpp:27:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < x[nod].size(); i++) ^ user.cpp:23:18: warning: unused variable ‘val’ [-Wunused-variable] int nod = 0, val = 0, ok = 1; ^ user.cpp: In function ‘int main()’: user.cpp:45:12: error: invalid operands of types ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’ and ‘int’ to binary ‘operator>>’ cin >> n >> m; ^ user.cpp:47:16: error: invalid operands of types ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’ and ‘int’ to binary ‘operator>>’ cin >> a >> b >> c; ^ user.cpp:56:9: error: ‘cout’ was not declared in this scope cout << vec[i] << " "; ^

Ceva nu functioneaza?