Borderou de evaluare (job #633501)

Utilizator avatar VladPislaru Pislaru Vlad Rares VladPislaru IP ascuns
Problemă Porumbei (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 feb. 2022 15:48:38 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Make_Graf()': main.cpp:62:25: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 62 | while (r_adj.size() > nrscc + 1) r_adj.pop_back(); | ~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:70:7: error: 'hash_set' was not declared in this scope 70 | hash_set<int> temp(r_adj[i].begin(), r_adj[i].end()); | ^~~~~~~~ main.cpp:70:16: error: expected primary-expression before 'int' 70 | hash_set<int> temp(r_adj[i].begin(), r_adj[i].end()); | ^~~ main.cpp:71:30: error: 'temp' was not declared in this scope 71 | r_adj[i] = vector<int>(temp.begin(), temp.end()); | ^~~~ main.cpp: In function 'int main()': main.cpp:115:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 115 | for (int j = 0; j < adj[i].size(); j++) { | ~~^~~~~~~~~~~~~~~