Borderou de evaluare (job #1178110)

Utilizator UPB_Bobulisteanu_Bobulisteanu_NituArtProgramming UPB_Bobulisteanu_Bobulisteanu_Nitu Data 26 aprilie 2014 14:26:46
Problema Subsiruri 3 Status done
Runda ONIS 2014, Runda 4 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:16:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin, "%d", &t); ^ user.c:19:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin, "%d %d", &n, &k); ^ user.c:19:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:20:3: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] val = malloc(sizeof(*val) * 1000000001); ^ user.c:20:9: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] val = malloc(sizeof(*val) * 1000000001); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?