Borderou de evaluare (job #2024067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &mat[i][j]);
^
user.cpp:31:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d%d%d", &n, &m, &pl, &pc, &cl, &cc);
^
user.cpp:38:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &mat[i][j]);
^
user.cpp:71:22: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int dmin = dist[b];
^
user.cpp:22:15: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
viz[t] = 1;
^
user.cpp:30:42: note: ‘a’ was declared here
int n, m, pl, pc, cl, cc, nrnod = 0, a, b;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 348kb | OK | 10 |
2 | 0ms | 400kb | Incorect | 0 |
3 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 528kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 948kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 1228kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 1868kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 2268kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 2252kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |