Borderou de evaluare (job #807801)

Utilizator avatar ccip Creion ccip IP ascuns
Problemă Vecine (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 feb. 2025 20:07:38 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:16:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 16 | fscanf(fin,"%d",&a); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:17:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 17 | fscanf(fin,"%d",&b); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:90:9: error: 'c' undeclared (first use in this function); did you mean 'c2'? 90 | c=c2; | ^ | c2 main.c:90:9: note: each undeclared identifier is reported only once for each function it appears in main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d",&b); | ^~~~~~~~~~~~~~~~~~~