Pagini recente » Borderou de evaluare (job #1986453) | Borderou de evaluare (job #2385766) | Borderou de evaluare (job #579269) | Borderou de evaluare (job #2462982) | Borderou de evaluare (job #1362773)
Borderou de evaluare (job #1362773)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf( f, "%d", &mat[0][i+2] );
^
user.cpp:43:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf( f, "%d", &mat[i+2][0] );
^
user.cpp:36:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d%d", &n, &m );
^
user.cpp:39:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d", &mat[0][i+2] );
^
user.cpp:43:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d", &mat[i+2][0] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Raspuns corect! | 10 |
2 | 0ms | 448kb | Raspuns corect! | 10 |
3 | 0ms | 456kb | Raspuns corect! | 10 |
4 | 0ms | 688kb | Raspuns corect! | 10 |
5 | 0ms | 692kb | Raspuns corect! | 10 |
6 | 4ms | 1204kb | Lungime incorecta! | 0 |
7 | 4ms | 1340kb | Lungime incorecta! | 0 |
8 | 4ms | 1440kb | Lungime incorecta! | 0 |
9 | 4ms | 1468kb | Subsir incorect! | 0 |
10 | 4ms | 1464kb | Subsir incorect! | 0 |
Punctaj total | 50 |