Borderou de evaluare (job #2605151)
Utilizator | Data | 24 aprilie 2020 15:49:27 | |
---|---|---|---|
Problema | Karb2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:32: error: expected ')' before ';' token
std::ofstream fout ("karb2.out";)
^
main.cpp:7:33: error: expected unqualified-id before ')' token
std::ofstream fout ("karb2.out";)
^
main.cpp: In function 'void DFS(int)':
main.cpp:32:25: error: 'edge' was not declared in this scope
for (int i=0; i<edge[node].size(); i++){
^~~~
main.cpp:44:21: error: 'edge' was not declared in this scope
for (int i=0; i<edge[node].size(); i++){
^~~~
main.cpp:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<children.size(); j++){
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:9: error: 'edge' was not declared in this scope
edge[src].push_back (dest);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !