Borderou de evaluare (job #2072338)

Utilizator silkMarin Dragos silk Data 21 noiembrie 2017 19:07:30
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(first[i][c] > 0) pos[i][ ++top[i] ] = first[i][c]; ^ user.cpp:46:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(first[i][c] > 0) pos[i][ ++top[i] ] = first[i][c]; ^ user.cpp:65:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(top[i] == K && nxt[i][ pos[i][ top[i] ] ][c] > 0) ^ user.cpp:66:66: warning: array subscript has type ‘char’ [-Wchar-subscripts] pos[i][ top[i] + 1 ] = nxt[i][ pos[i][ top[i]++ ] ][c]; ^ user.cpp:66:67: warning: operation on ‘top[i]’ may be undefined [-Wsequence-point] pos[i][ top[i] + 1 ] = nxt[i][ pos[i][ top[i]++ ] ][c]; ^ user.cpp:22:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d %d\n",&N,&M); ^ user.cpp:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s\n",s); ^ user.cpp:41:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%c\n",&c); ^ user.cpp:53:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%c\n",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK5
20ms516kbOK5
30ms988kbOK5
40ms1428kbOK5
58ms5236kbOK5
60ms1524kbOK5
752ms19132kbOK5
860ms18832kbOK5
9444ms25964kbOK5
10640ms26212kbOK5
11620ms26196kbOK5
12388ms21036kbOK5
13384ms22400kbOK5
14472ms23692kbOK5
15136ms7496kbOK5
16280ms9232kbOK5
17184ms15312kbOK5
18428ms26132kbOK5
19624ms26228kbOK5
20348ms26232kbOK5
Punctaj total100

Ceva nu functioneaza?