Borderou de evaluare (job #2749434)

Utilizator DVDPRODavid D DVDPRO Data 6 mai 2021 17:54:50
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:14:1: error: invalid use of template-name 'std::bitset' without an argument list bitset check; ^~~~~~ In file included from main.cpp:3:0: /usr/include/c++/6/bitset:747:11: note: 'template<long unsigned int _Nb> class std::bitset' declared here class bitset ^~~~~~ main.cpp: In function 'void HowdyNeighbour(int)': main.cpp:30:5: error: 'check' was not declared in this scope check.set(node); ^~~~~ main.cpp: In function 'void walk()': main.cpp:39:13: error: 'check' was not declared in this scope if(!check[i]) ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?