Borderou de evaluare (job #688852)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Palindrom 2 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 19 ian. 2023 23:46:40 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:63:1: error: 'a' undeclared (first use in this function) 63 | a | ^ main.c:63:1: note: each undeclared identifier is reported only once for each function it appears in main.c:63:2: error: expected ';' before 'ndif' 63 | a | ^ | ; 64 | ndif++; | ~~~~ main.c:155:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 155 | if (p10s == p10d) | ^~ main.c:160:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | z = 0; | ^ main.c:21:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf (fin, "%d%d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:37:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf (fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:107:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | fscanf (fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~