Borderou de evaluare (job #2024280)

Utilizator StefanManolacheManolache Stefan StefanManolache Data 20 septembrie 2017 11:59:03
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
10ms340kbOK10
20ms392kbOK10
30ms676kbKilled by signal 11(SIGSEGV).0
44ms936kbKilled by signal 11(SIGSEGV).0
54ms932kbKilled by signal 11(SIGSEGV).0
628ms2916kbOK10
760ms3292kbKilled by signal 11(SIGSEGV).0
8152ms4680kbKilled by signal 11(SIGSEGV).0
9276ms6324kbKilled by signal 11(SIGSEGV).0
10256ms6248kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?