Borderou de evaluare (job #765813)

Utilizator avatar NeaguIoan Negu Catalin NeaguIoan IP ascuns
Problemă Cartonașe (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 mar. 2024 19:30:15 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:18:34: error: 'C' undeclared (first use in this function) 18 | p++;if (C == 3) | ^ main.c:18:34: note: each undeclared identifier is reported only once for each function it appears in main.c:38:1: error: expected declaration or statement at end of input 38 | } | ^ main.c:38:1: error: expected declaration or statement at end of input main.c:38:1: error: expected declaration or statement at end of input main.c:38:1: error: expected declaration or statement at end of input main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%d", &c ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:13:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:14:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d%d", &nr1, &nr2 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:20: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf( fin, "%d%d", &nr3, &nr4 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~