Borderou de evaluare (job #354326)

Utilizator xtremespeedzeal xtreme Data 7 octombrie 2009 19:03:31
Problema Iepuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/iostream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp: In function 'void citire()': user.cpp:15: warning: unused variable 'i' user.cpp: In function 'void nrmodal(int)': user.cpp:30: error: 'K' was not declared in this scope user.cpp:31: error: no match for 'operator=' in 'sol[nod][i] = 1' user.cpp:11: note: candidates are: solutie& solutie::operator=(const solutie&) user.cpp:32: error: no match for 'operator!=' in 'it != G[nod].std::vector<_Tp, _Alloc>::end [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:33: error: no match for 'operator+=' in 'sol[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()][(i + 1)] += sol[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()][(i + 2)]' user.cpp:34: error: no match for 'operator%=' in 'sol[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()][(i + 1)] %= 30011' user.cpp:35: error: no match for 'operator*=' in 'sol[nod][i] *= sol[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()][(i + 1)]' user.cpp:36: error: no match for 'operator%=' in 'sol[nod][i] %= 30011' user.cpp: In function 'void scriere()': user.cpp:43: error: no match for 'operator+=' in 'rez += sol[sef][i]'

Ceva nu functioneaza?