Borderou de evaluare (job #853668)

Utilizator avatar Barbu_Darius Barbu Darius Barbu_Darius IP ascuns
Problemă Chibrituri (clasa a 5-a) Compilator c
Rundă Tema 21 Clasa a 5-a Status evaluat
Dată 19 feb. 2026 11:05:10 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:14:5: error: 'minM' undeclared (first use in this function); did you mean 'minH'? 14 | minM = 60; | ^~~~ | minH main.c:14:5: note: each undeclared identifier is reported only once for each function it appears in main.c:23:14: error: 'needV' undeclared (first use in this function); did you mean 'needv'? 23 | needV = V[h1] + V[h2] + V[m1] + V[m2]; | ^~~~~ | needv main.c:9:47: warning: unused variable 'needv' [-Wunused-variable] 9 | int n, m,h,maxM,h1,h2,m1,m2,count,minH,mm,needv,needO; | ^~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d %d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~