Borderou de evaluare (job #3179213)

Utilizator ottoalex2008Paraschiva Octavian Alexandru ottoalex2008 Data 3 decembrie 2023 12:39:29
Problema Alee Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c:8:1: error: unknown type name 'vect'; use 'struct' keyword to refer to the type 8 | vect v[31330]; | ^~~~ | struct main.c: In function 'main': main.c:13:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 13 | fscanf(fin,"%d%d",&n,&c1); | ~^ ~~ | | | | | short int * | int * | %hd main.c:13:24: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 13 | fscanf(fin,"%d%d",&n,&c1); | ~^ ~~~ | | | | int * short int * | %hd main.c:21:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 21 | fscanf(fin,"%d%d",&i1,&j1); | ~^ ~~~ | | | | | short int * | int * | %hd main.c:21:28: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 21 | fscanf(fin,"%d%d",&i1,&j1); | ~^ ~~~ | | | | int * short int * | %hd main.c:24:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 24 | fscanf(fin,"%d%d%d%d",&starti,&startj,&finali,&finalj); | ~^ ~~~~~~~ | | | | int * short int * | %hd main.c:24:24: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 24 | fscanf(fin,"%d%d%d%d",&starti,&startj,&finali,&finalj); | ~^ ~~~~~~~ | | | | int * short int * | %hd main.c:24:26: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'short int *' [-Wformat=] 24 | fscanf(fin,"%d%d%d%d",&starti,&startj,&finali,&finalj); | ~^ ~~~~~~~ | | | | int * short int * | %hd main.c:24:28: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'short int *' [-Wformat=] Non zero exit status: 1

Ceva nu functioneaza?