Borderou de evaluare (job #2744988)

Utilizator rauliacobanRaul Iacoban rauliacoban Data 25 aprilie 2021 18:02:15
Problema Buline Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'read': main.c:23:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'size_t * {aka long unsigned int *}' [-Wformat=] fscanf(file, "%d", N); ^ main.c: In function 'main': main.c:123:1: warning: "/*" within comment [-Wcomment] /* main.c:138:2: error: expected expression before '/' token */ ^ main.c:113:10: warning: variable 'v' set but not used [-Wunused-but-set-variable] int *v, *circle, start, length, sum, N_circle, dif;; ^ main.c: In function 'read': main.c:23:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%d", N); ^~~~~~~~~~~~~~~~~~~~~ main.c:36:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%d %d", &v[i], &sign); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?