Grafo spalvinimas

Taškai: 0

Compile: FAIL

grafo_spalvinimas.cpp: In function ‘int main()’: grafo_spalvinimas.cpp:25:24: error: could not convert ‘arr.std::set<int>::find(x)’ from ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator’} to ‘bool’ 25 | while (arr.find(x)) { | ~~~~~~~~^~~ | | | std::set<int>::iterator {aka std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator}

nr.resulttimemessage