Borderou de evaluare (job #2024283)

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

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
116ms12052kbOK10
216ms12104kbOK10
320ms12412kbOK10
424ms12820kbOK10
524ms12892kbOK10
644ms14624kbOK10
7180ms20400kbOK10
8364ms26980kbOK10
9Depăşit26036kbTime limit exceeded.0
10Depăşit26296kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?