Pagini recente » Borderou de evaluare (job #2578789) | Borderou de evaluare (job #27882) | Borderou de evaluare (job #1459674) | Borderou de evaluare (job #77781) | Borderou de evaluare (job #1455494)
Borderou de evaluare (job #1455494)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int** readMatrix(FILE*, int*)’:
user.cpp:10:30: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘unsigned int*’ [-Wformat=]
fscanf(in, "%hu", &m[i][j]);
^
user.cpp: In function ‘void royfloyd(unsigned int**, int)’:
user.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s < m[i][j]) m[i][j] = s;
^
user.cpp: In function ‘unsigned int** readMatrix(FILE*, int*)’:
user.cpp:4:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", n);
^
user.cpp:10:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%hu", &m[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 288kb | Incorect | 0 |
6 | 0ms | 288kb | Incorect | 0 |
7 | 4ms | 288kb | Incorect | 0 |
8 | 4ms | 296kb | Incorect | 0 |
9 | 4ms | 300kb | Incorect | 0 |
10 | 8ms | 316kb | Incorect | 0 |
Punctaj total | 10 |