Borderou de evaluare (job #715218)

Utilizator avatar diana_2010 ionica diana maria diana_2010 IP ascuns
Problemă Inundație Compilator c-32
Rundă Tema 24 clasa a 6-a Status evaluat
Dată 12 apr. 2023 11:13:56 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:30:13: error: 'cvp' undeclared (first use in this function) 30 | cvp = p - 1; | ^~~ main.c:30:13: note: each undeclared identifier is reported only once for each function it appears in main.c:7:51: warning: unused variable 'mij' [-Wunused-variable] 7 | int cer, n, p, s, i, minn, maxx, max, dr, st, mij; | ^~~ main.c:7:47: warning: unused variable 'st' [-Wunused-variable] 7 | int cer, n, p, s, i, minn, maxx, max, dr, st, mij; | ^~ main.c:7:43: warning: unused variable 'dr' [-Wunused-variable] 7 | int cer, n, p, s, i, minn, maxx, max, dr, st, mij; | ^~ main.c:7:38: warning: unused variable 'max' [-Wunused-variable] 7 | int cer, n, p, s, i, minn, maxx, max, dr, st, mij; | ^~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d%d%d", &cer, &n, &p, &s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~