Borderou de evaluare (job #2024282)

Utilizator StefanManolacheManolache Stefan StefanManolache Data 20 septembrie 2017 11:59:54
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
10ms344kbOK10
20ms392kbOK10
30ms676kbKilled by signal 11(SIGSEGV).0
44ms940kbKilled by signal 11(SIGSEGV).0
54ms924kbKilled by signal 11(SIGSEGV).0
628ms2916kbOK10
764ms3292kbKilled by signal 11(SIGSEGV).0
8148ms4688kbKilled by signal 11(SIGSEGV).0
9276ms6328kbKilled by signal 11(SIGSEGV).0
10268ms6252kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?