Pagini recente » Borderou de evaluare (job #2006255) | Borderou de evaluare (job #1708535) | Borderou de evaluare (job #1900609) | Cod sursa (job #748783) | Borderou de evaluare (job #2024281)
Borderou de evaluare (job #2024281)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62: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:51: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:62: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:102:22: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int dmin = dist[b];
^
user.cpp:23:15: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
viz[t] = 1;
^
user.cpp:50:25: note: ‘a’ was declared here
int pl, pc, cl, cc, a, b;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | OK | 10 |
2 | 0ms | 392kb | OK | 10 |
3 | 0ms | 672kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 4ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 924kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 28ms | 2912kb | OK | 10 |
7 | 64ms | 3292kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 152ms | 4684kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 276ms | 6320kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 260ms | 6252kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |