Borderou de evaluare (job #1178357)

Utilizator UPB_Cojocea_Ozunu_TudoraTudora Bianca Maria UPB_Cojocea_Ozunu_Tudora Data 26 aprilie 2014 14:56:04
Problema Speculum Status done
Runda ONIS 2014, Runda 4 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:25:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int’ [-Wformat=] fscanf(f, "%d %d %d %d",x1,y1,x2,y2); ^ user.c:25:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int’ [-Wformat=] user.c:25:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘long int’ [-Wformat=] user.c:25:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 6 has type ‘long int’ [-Wformat=] user.c:61:3: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("sum=%i\n",sum); ^ user.c:7:8: warning: unused variable ‘L’ [-Wunused-variable] int T,L; ^ user.c:25:9: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f, "%d %d %d %d",x1,y1,x2,y2); ^ user.c:25:9: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:25:9: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:25:9: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?