Borderou de evaluare (job #807314)

Utilizator avatar andrei-raileanu-szeles Andrei Raileanu Szeles andrei-raileanu-szeles IP ascuns
Problemă Submit (clasa a 6-a) Compilator c-32
Rundă Tema 25 Clasa a 6-a Status evaluat
Dată 31 ian. 2025 19:17:10 Scor 0

Raport evaluator

Eroare de compilare: main.c:4:1: warning: data definition has no type or storage class 4 | v[101]; | ^ main.c:4:1: error: type defaults to 'int' in declaration of 'v' [-Wimplicit-int] main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(in,"%d",&n); | ^~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(in,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(in,"%d%d",&b,&m); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(in,"%d",&x); | ^~~~~~~~~~~~~~~~~~