Borderou de evaluare (job #1349449)

Utilizator IonSebastianIon Sebastian IonSebastian Data 20 februarie 2015 11:10:19
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 bsearch(int)’: user.cpp:15:27: error: ‘LOG’ was not declared in this scope int i = 0, pas = 1 << LOG; ^ user.cpp: In function ‘int main()’: user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:33:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[i]); ^

Ceva nu functioneaza?