Borderou de evaluare (job #2606023)
Utilizator | Data | 26 aprilie 2020 19:00:29 | |
---|---|---|---|
Problema | Berarii2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:13: error: variable 'std::ifstream fin' has initializer but incomplete type
ifstream fin("berarii2.in");
^
main.cpp:7:14: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout("berarii2.out");
^
main.cpp:10:1: error: 'vector' does not name a type
vector<int> v[dim];
^~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:15:23: error: 'v' was not declared in this scope
for(int i = 0;i < v[nod].size();i++)
^
main.cpp: In function 'int main()':
main.cpp:30:9: error: 'v' was not declared in this scope
v[b].push_back(a);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !