Borderou de evaluare (job #2967876)

Utilizator YosifIosif Andrei Stefan Yosif Data 20 ianuarie 2023 11:35:55
Problema Karb2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:1: error: 'bitset' does not name a type 10 | bitset<100001> src; // src[i] == true | for sources | ^~~~~~ main.cpp: In function 'std::pair<int, int> dfs(int, int)': main.cpp:19:13: error: 'src' was not declared in this scope 19 | if (src[nod]) | ^~~ main.cpp:28:9: error: 'src' was not declared in this scope 28 | if (src[nod]) { | ^~~ main.cpp:69:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | for (int i = 1; i < v.size(); i++) | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:82:9: error: 'src' was not declared in this scope 82 | src[x] = true; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?