Borderou de evaluare (job #970175)

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

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: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:30:27: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:29:13: note: containing loop for (h='a'; h<='z'; h++){ ^ user.cpp:30:27: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if (a[j][h]==0 && a[h][j]==0) dp[i][j]+=dp[i-1][h]; ^ user.cpp:28:9: note: containing loop for (j='a'; j<='z'; j++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbIncorect0
20ms400kbIncorect0
30ms400kbIncorect0
40ms368kbKilled by signal 11(SIGSEGV).0
50ms368kbKilled by signal 11(SIGSEGV).0
60ms368kbKilled by signal 11(SIGSEGV).0
70ms400kbIncorect0
80ms400kbIncorect0
90ms364kbKilled by signal 11(SIGSEGV).0
100ms396kbIncorect0
110ms368kbKilled by signal 11(SIGSEGV).0
120ms368kbKilled by signal 11(SIGSEGV).0
130ms372kbKilled by signal 11(SIGSEGV).0
140ms372kbKilled by signal 11(SIGSEGV).0
150ms368kbKilled by signal 11(SIGSEGV).0
160ms368kbKilled by signal 11(SIGSEGV).0
170ms368kbKilled by signal 11(SIGSEGV).0
180ms368kbKilled by signal 11(SIGSEGV).0
190ms372kbKilled by signal 11(SIGSEGV).0
200ms368kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?