Borderou de evaluare (job #1456900)

Utilizator mouse_wirelessMouse Wireless mouse_wireless Data 2 iulie 2015 13:11:27
Problema 2SAT Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In member function ‘T& jmenvect<T>::operator[](int)’: user.cpp:16:31: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available [-fpermissive] return this->at(-n + (size() >> 1)); ^ user.cpp:16:31: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) user.cpp: In function ‘int main()’: user.cpp:126:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:130:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^

Ceva nu functioneaza?