Borderou de evaluare (job #220775)

Utilizator raduzerRadu Zernoveanu raduzer Data 12 noiembrie 2008 18:47:46
Problema Radiatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:131:2: warning: no newline at end of file user.cpp:21: error: conflicting declaration 'int c [15010]' user.cpp:18: error: 'c' has a previous declaration as 'std::vector<int, std::allocator<int> > c [15010]' user.cpp: In function 'void df(int)': user.cpp:54: warning: comparison between signed and unsigned integer expressions user.cpp: In function 'void LCA(int, int)': user.cpp:72: warning: operation on 'x' may be undefined user.cpp: In function 'int main()': user.cpp:111: error: no match for 'operator=' in 'c[i] = 1' /usr/include/c++/4.2/bits/vector.tcc:132: note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>] user.cpp:114: error: could not convert 'c[i]' to 'bool'

Ceva nu functioneaza?