Borderou de evaluare (job #970174)

Utilizator andreiblaj17Andrei Blaj andreiblaj17 Data 6 iulie 2013 09:11:11
Problema Lista lui Andrei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[x][y]=1; ^ user.cpp:20:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[x][y]=1; ^ user.cpp:21:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[y][x]=1; ^ user.cpp:21:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[y][x]=1; ^ user.cpp:25:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[1][i]=1; ^ user.cpp:30:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:66: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:31:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[i][j]%=104659; ^ user.cpp:35:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] s+=dp[n][i]; ^ user.cpp:25:16: warning: array subscript is above array bounds [-Warray-bounds] dp[1][i]=1; ^ user.cpp:30:27: warning: array subscript is above array bounds [-Warray-bounds] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:24: warning: array subscript is above array bounds [-Warray-bounds] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:30:41: warning: array subscript is above array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbOK5
20ms400kbOK5
30ms400kbOK5
40ms400kbOK5
50ms400kbOK5
60ms400kbOK5
70ms400kbOK5
80ms404kbOK5
90ms404kbIncorect0
100ms400kbIncorect0
114ms404kbIncorect0
124ms408kbIncorect0
134ms424kbIncorect0
144ms440kbIncorect0
154ms452kbIncorect0
164ms460kbIncorect0
178ms480kbIncorect0
188ms476kbKilled by signal 11(SIGSEGV).0
198ms480kbKilled by signal 11(SIGSEGV).0
208ms484kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?