Borderou de evaluare (job #2706951)

Utilizator mihaipriboimihailucapriboi mihaipriboi Data 16 februarie 2021 10:33:07
Problema Cri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%d%d", &n, &m, &x, &y ); ^ main.cpp:33:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%hd", &mat[i][j] ); ^ main.cpp:11:31: warning: 'camere' may be used uninitialized in this function [-Wmaybe-uninitialized] if( nr > max || ( nr == max && c < camere ) ) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:26:41: note: 'camere' was declared here int n, i, j, m, x, y, sum, max, zona, camere, k, rooms; ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
25ms262kbOK5
321ms393kbOK5
428ms393kbOK5
571ms655kbOK5
62ms131kbOK5
72ms131kbOK5
882ms655kbOK5
92ms131kbOK5
1076ms655kbOK5
113ms131kbOK5
123ms131kbOK5
133ms131kbOK5
145ms262kbOK5
1527ms393kbOK5
163ms131kbOK5
1721ms393kbOK5
182ms131kbOK5
1983ms655kbOK5
202ms131kbOK5
Punctaj total100

Ceva nu functioneaza?