Borderou de evaluare (job #561439)

Utilizator vgabi94Vaduva Gabriel vgabi94 Data 20 martie 2011 14:05:17
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:33:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:11: error: template argument for 'template<class _Alloc> class std::allocator' uses local type 'main()::Max' user.cpp:11: error: trying to instantiate 'template<class _Alloc> class std::allocator' user.cpp:11: error: template argument 2 is invalid user.cpp:11: error: invalid type in declaration before ',' token user.cpp:13: error: request for member 'push' in 'max', which is of non-class type 'int' user.cpp:13: error: request for member 'push' in 'nr', which is of non-class type 'int' user.cpp:16: error: request for member 'size' in 'max', which is of non-class type 'int' user.cpp:19: error: request for member 'front' in 'max', which is of non-class type 'int' user.cpp:20: error: request for member 'front' in 'max', which is of non-class type 'int' user.cpp:21: error: request for member 'push' in 'max', which is of non-class type 'int' user.cpp:22: error: request for member 'back' in 'max', which is of non-class type 'int' user.cpp:22: error: request for member 'back' in 'max', which is of non-class type 'int' user.cpp:23: error: request for member 'pop' in 'max', which is of non-class type 'int' user.cpp:25: error: request for member 'push' in 'nr', which is of non-class type 'int' user.cpp:26: error: request for member 'front' in 'nr', which is of non-class type 'int' user.cpp:26: error: request for member 'front' in 'nr', which is of non-class type 'int' user.cpp:27: error: request for member 'push' in 'max', which is of non-class type 'int' user.cpp:28: error: request for member 'back' in 'max', which is of non-class type 'int' user.cpp:28: error: request for member 'back' in 'max', which is of non-class type 'int' user.cpp:29: error: request for member 'pop' in 'nr', which is of non-class type 'int'

Ceva nu functioneaza?