Borderou de evaluare (job #2572271)

Utilizator DariaIsHereDaria Maria Avramut DariaIsHere Data 5 martie 2020 12:21:54
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:24:30: error: expected ')' before ';' token fscanf(in, "%d", v[i];) ^ main.c:24:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=] fscanf(in, "%d", v[i];) ^ main.c:25:9: error: expected ';' before 'pred' pred[i]=-1; ^~~~ main.c:21:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", v[i];) ^~~~~~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?