Borderou de evaluare (job #808668)

Utilizator ahmed.abdraboahmed.abdrabo ahmed.abdrabo Data 7 noiembrie 2012 08:45:40
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int next_int()’: user.cpp:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: At global scope: user.cpp:11: error: array bound is not an integer constant user.cpp:11: error: array bound is not an integer constant user.cpp:11: error: array bound is not an integer constant user.cpp:12: error: array bound is not an integer constant user.cpp: In function ‘int get(int)’: user.cpp:17: error: ‘BIT’ was not declared in this scope user.cpp: In function ‘void set(int, int)’: user.cpp:25: error: ‘BIT’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:42: error: ‘A’ was not declared in this scope user.cpp:43: error: ‘S’ was not declared in this scope user.cpp:45: error: ‘S’ was not declared in this scope user.cpp:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?