Borderou de evaluare (job #915521)

Utilizator freak93Adrian Budau freak93 Data 15 martie 2013 09:27:20
Problema Snpid Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:31: error: ISO C++ forbids declaration of ‘vector’ with no type user.cpp:31: error: expected ‘;’ before ‘<’ token user.cpp: In constructor ‘FenwickTree<IntType>::FenwickTree(const int&)’: user.cpp:11: error: class ‘FenwickTree<IntType>’ does not have any field named ‘buffer_’ user.cpp: In member function ‘void FenwickTree<IntType>::add(int, const IntType&)’: user.cpp:15: error: ‘buffer_’ was not declared in this scope user.cpp: In member function ‘IntType FenwickTree<IntType>::sum(int)’: user.cpp:22: error: ‘buffer_’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:40: error: ‘vector’ was not declared in this scope user.cpp:40: error: expected primary-expression before ‘int’ user.cpp:40: error: expected ‘;’ before ‘int’ user.cpp:42: error: ‘V’ was not declared in this scope user.cpp:47: error: expected primary-expression before ‘long’ user.cpp:47: error: expected ‘;’ before ‘long’ user.cpp:48: error: expected primary-expression before ‘int’ user.cpp:48: error: expected ‘;’ before ‘int’ user.cpp:48: error: ‘it’ was not declared in this scope user.cpp:48: error: ‘V’ was not declared in this scope user.cpp:49: error: ‘answer’ was not declared in this scope user.cpp:54: error: ‘answer’ was not declared in this scope user.cpp:55: error: expected primary-expression before ‘long’ user.cpp:55: error: expected ‘;’ before ‘long’ user.cpp:55: error: ‘it’ was not declared in this scope

Ceva nu functioneaza?