Borderou de evaluare (job #678088)

Utilizator dacyanMujdar Dacian dacyan Data 10 februarie 2012 23:58:45
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Dijkstra()’: user.cpp:55: warning: comparison between signed and unsigned integer expressions user.cpp:69: error: conversion from ‘std::_Rb_tree_const_iterator<std::pair<int, int> >’ to non-scalar type ‘std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >’ requested user.cpp:72: error: no matching function for call to ‘std::set<std::pair<int, int>, std::less<std::pair<int, int> >, std::allocator<std::pair<int, int> > >::erase(std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >&)’ /usr/include/c++/4.4/bits/stl_set.h:475: note: candidates are: void std::set<_Key, _Compare, _Alloc>::erase(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >] /usr/include/c++/4.4/bits/stl_set.h:490: note: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::size_type std::set<_Key, _Compare, _Alloc>::erase(const _Key&) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >] /usr/include/c++/4.4/bits/stl_set.h:505: note: void std::set<_Key, _Compare, _Alloc>::erase(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >] user.cpp:74: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?