Pagini recente » Borderou de evaluare (job #386456) | Borderou de evaluare (job #1210027) | Borderou de evaluare (job #2953110) | Borderou de evaluare (job #603738) | Borderou de evaluare (job #1377037)
Borderou de evaluare (job #1377037)
Raport evaluator
Compilare:
user.c: In function ‘min’:
user.c:9:9: warning: return makes integer from pointer without a cast [enabled by default]
return a;
^
user.c:10:5: warning: return makes integer from pointer without a cast [enabled by default]
return b;
^
user.c: In function ‘main’:
user.c:31:17: warning: passing argument 1 of ‘min’ makes pointer from integer without a cast [enabled by default]
d[ !( i & 1 ) ][ j + 1 ] = 1 + min( d[ !( i & 1 ) ][ j ], min( d[ i & 1 ][ j + 1 ], d[ i & 1 ][ j ] ) );
^
user.c:7:12: note: expected ‘int *’ but argument is of type ‘short int’
inline int min( int *a, int *b ) {
^
user.c:31:17: warning: passing argument 2 of ‘min’ makes pointer from integer without a cast [enabled by default]
d[ !( i & 1 ) ][ j + 1 ] = 1 + min( d[ !( i & 1 ) ][ j ], min( d[ i & 1 ][ j + 1 ], d[ i & 1 ][ j ] ) );
^
user.c:7:12: note: expected ‘int *’ but argument is of type ‘short int’
inline int min( int *a, int *b ) {
^
user.c:31:17: warning: passing argument 1 of ‘min’ makes pointer from integer without a cast [enabled by default]
d[ !( i & 1 ) ][ j + 1 ] = 1 + min( d[ !( i & 1 ) ][ j ], min( d[ i & 1 ][ j + 1 ], d[ i & 1 ][ j ] ) );
^
user.c:7:12: note: expected ‘int *’ but argument is of type ‘short int’
inline int min( int *a, int *b ) {
^
user.c:31:17: warning: passing argument 2 of ‘min’ makes pointer from integer without a cast [enabled by default]
d[ !( i & 1 ) ][ j + 1 ] = 1 + min( d[ !( i & 1 ) ][ j ], min( d[ i & 1 ][ j + 1 ], d[ i & 1 ][ j ] ) );
^
user.c:7:12: note: expected ‘int *’ but argument is of type ‘int’
inline int min( int *a, int *b ) {
^
user.c:18:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d%d%d\n", &N, &M, &k );
^
user.c:19:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets( s, N + 2, f );
^
user.c:20:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets( S, M + 2, f );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 12ms | 280kb | Incorect | 0 |
7 | 20ms | 280kb | Incorect | 0 |
8 | Depăşit | 296kb | Time limit exceeded. | 0 |
9 | Depăşit | 340kb | Time limit exceeded. | 0 |
10 | Depăşit | 344kb | Time limit exceeded. | 0 |
Punctaj total | 0 |