Borderou de evaluare (job #2744984)

Utilizator rauliacobanRaul Iacoban rauliacoban Data 25 aprilie 2021 17:49:04
Problema Buline Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'read': main.c:23:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'size_t * {aka long unsigned int *}' [-Wformat=] fscanf(file, "%d", N); ^ main.c:23:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%d", N); ^~~~~~~~~~~~~~~~~~~~~ main.c:37:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%d %d", &v[i], &sign); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:138:5: warning: attempt to free a non-heap object 'v' [-Wfree-nonheap-object] free(v); ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
35ms131kbKilled by Signal 110
411ms262kbKilled by Signal 110
516ms393kbKilled by Signal 110
638ms655kbKilled by Signal 110
747ms786kbKilled by Signal 110
878ms786kbKilled by Signal 110
992ms786kbKilled by Signal 110
10100ms1179kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?