Borderou de evaluare (job #221462)

Utilizator tvladTataranu Vlad tvlad Data 16 noiembrie 2008 16:46:57
Problema Euro2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp: In function 'typename std::vector<T, std::allocator<_CharT> >::iterator search(std::vector<T, std::allocator<_CharT> >&, T)': user.cpp:13: error: expected `;' before 'r' user.cpp:17: error: 'r' was not declared in this scope user.cpp:19: error: 'r' was not declared in this scope user.cpp:20: error: 'r' was not declared in this scope user.cpp: In function 'typename std::vector<T, std::allocator<_CharT> >::iterator search(std::vector<T, std::allocator<_CharT> >&, T) [with T = double]': user.cpp:28: instantiated from here user.cpp:13: error: dependent-name 'std::vector<T,std::allocator<_CharT> >::iterator' is parsed as a non-type, but instantiation yields a type user.cpp:13: note: say 'typename std::vector<T,std::allocator<_CharT> >::iterator' if a type is meant user.cpp:28: instantiated from here user.cpp:15: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?