Borderou de evaluare (job #1248057)

Utilizator hrazvanHarsan Razvan hrazvan Data 24 octombrie 2014 15:56:01
Problema Procesor Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘add’: user.c:8:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(prim[a] != 0 && i - poz[prim[a]] > d) prim[a] = prev[prim[a]]; ^ user.c:8:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:8:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:8:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:9:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(prim[a] == 0) ult[a] = 0; ^ user.c:9:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:10:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] len[dr] = len[prim[a]] + 1; ^ user.c:12:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] prev[ult[b]] = dr; ^ user.c:13:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] next[dr] = ult[b]; ^ user.c:14:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] ult[b] = dr; ^ user.c:15:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(prim[b] == 0) prim[b] = dr; ^ user.c:15:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:20:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(next[dr] == 0) prim[b] = dr; ^ user.c: In function ‘main’: user.c:28:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d ", &n, &k); ^ user.c:39:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] last -= 'a'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbKilled by signal 11(SIGSEGV).0
20ms188kbKilled by signal 11(SIGSEGV).0
30ms188kbKilled by signal 11(SIGSEGV).0
40ms188kbKilled by signal 11(SIGSEGV).0
50ms188kbKilled by signal 11(SIGSEGV).0
60ms184kbKilled by signal 11(SIGSEGV).0
70ms188kbKilled by signal 11(SIGSEGV).0
80ms188kbKilled by signal 11(SIGSEGV).0
90ms188kbKilled by signal 11(SIGSEGV).0
100ms188kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?