Borderou de evaluare (job #1823992)
Utilizator | Data | 7 decembrie 2016 09:39:17 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:14: warning: missing terminating " character [enabled by default]
ifstream fin("dijkstra.in);
^
user.cpp:5:1: error: missing terminating " character
ifstream fin("dijkstra.in);
^
user.cpp:6:14: error: expected ‘,’ or ‘...’ before ‘(’ token
ofstream fout("dijkstra.out");
^
user.cpp:6:30: error: expected ‘)’ before ‘;’ token
ofstream fout("dijkstra.out");
^
user.cpp: In function ‘void Citire()’:
user.cpp:14:10: error: invalid operands of types ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’ and ‘int’ to binary ‘operator>>’
fin>>n>>m;
^
user.cpp:21:14: error: invalid operands of types ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’ and ‘int’ to binary ‘operator>>’
fin>>i>>j>>c;
^
user.cpp: In function ‘int main()’:
user.cpp:51:9: error: ‘fout’ was not declared in this scope
fout<<d[i]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !