Borderou de evaluare (job #636715)

Utilizator avatar vlad_n Vlad Negut vlad_n IP ascuns
Problemă Album (clasa a 6-a) Compilator c-32
Rundă pregatire_oji_cls6_vianu Status evaluat
Dată 28 feb. 2022 20:38:58 Scor 0

Raport evaluator

Eroare de compilare: main.c:7:1: error: expected ',' or ';' before 'int' 7 | int cifre[6]; | ^~~ main.c: In function 'main': main.c:30:13: error: 'cifre' undeclared (first use in this function) 30 | x = cifre[j] > ch ? ch * 10 + cifre[j] : cifre[j] * 10 + ch; | ^~~~~ main.c:30:13: note: each undeclared identifier is reported only once for each function it appears in main.c:13:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d%d ", &c, &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~