Borderou de evaluare (job #1107901)

Utilizator BonCipBonciocat Ciprian Mircea BonCip Data 14 februarie 2014 19:49:22
Problema Char Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:49:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] cntsort[ s[ i ] ] ++; ^ user.c:55:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf( fin, "%d", p + i ); ^ user.c:62:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cntsort[ c ] ) { ^ user.c:63:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] map[ c ] = p[ ++ pos ]; ^ user.c:63:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:64:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( max < p[ pos ] ) { ^ user.c:65:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] max = p[ pos ]; ^ user.c:66:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] nrmax = cntsort[ c ]; ^ user.c:75:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[ i ].st = i - map[ s[ i ] ]; ^ user.c:76:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[ i ].dr = i + map[ s[ i ] ]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms236kbOK10
30ms232kbIncorect0
40ms232kbIncorect0
50ms232kbIncorect0
60ms232kbIncorect0
70ms232kbIncorect0
84ms284kbOK10
94ms288kbOK10
104ms296kbOK10
Punctaj total50

Ceva nu functioneaza?