Borderou de evaluare (job #2668630)

Utilizator gunther41Ionut Buzamat Alexandru gunther41 Data 5 noiembrie 2020 05:54:09
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void BFS()': main.cpp:20:21: error: two or more data types in declaration of 'i' for(auto int i=0;i<v[x].size();++i) ^ main.cpp:20:25: error: 'i' was not declared in this scope for(auto int i=0;i<v[x].size();++i) ^ main.cpp: In function 'int main()': main.cpp:38:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i<N;++i) ^~~ main.cpp:41:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?