Pagini recente » Borderou de evaluare (job #2482011) | Borderou de evaluare (job #1500859) | Borderou de evaluare (job #2435174) | Borderou de evaluare (job #845642) | Borderou de evaluare (job #1107901)
Borderou de evaluare (job #1107901)
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 |
1 | 0ms | 232kb | OK | 10 |
2 | 0ms | 236kb | OK | 10 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 232kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 232kb | Incorect | 0 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 4ms | 284kb | OK | 10 |
9 | 4ms | 288kb | OK | 10 |
10 | 4ms | 296kb | OK | 10 |
Punctaj total | 50 |