Borderou de evaluare (job #1539293)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 30 noiembrie 2015 17:26:31
Problema Path Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(char)’: user.cpp:16:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] vis[node] = true; ^ user.cpp:17:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp_count[node] = 1; ^ user.cpp:19:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (edge[node][it] && !vis[it]) { ^ user.cpp:19:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (edge[node][it] && !vis[it]) { ^ user.cpp:19:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (edge[node][it] && !vis[it]) { ^ user.cpp:22:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dp[it] + 1 > dp[node]) ^ user.cpp:22:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dp[it] + 1 > dp[node]) ^ user.cpp:23:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[node] = dp[it] + 1, dp_count[node] = dp_count[it]; ^ user.cpp:23:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[node] = dp[it] + 1, dp_count[node] = dp_count[it]; ^ user.cpp:23:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[node] = dp[it] + 1, dp_count[node] = dp_count[it]; ^ user.cpp:23:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[node] = dp[it] + 1, dp_count[node] = dp_count[it]; ^ user.cpp:24:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (dp[it] + 1 == dp[node]) ^ user.cpp:24:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (dp[it] + 1 == dp[node]) ^ user.cpp:25:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp_count[node] += dp_count[it]; ^ user.cpp:25:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp_count[node] += dp_count[it]; ^ user.cpp:29:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (edge[node][it] && !vis[it]) { ^ user.cpp:29:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbIncorect0
20ms408kbIncorect0
30ms408kbIncorect0
40ms428kbIncorect0
50ms428kbIncorect0
60ms432kbIncorect0
70ms428kbIncorect0
80ms428kbIncorect0
90ms428kbIncorect0
100ms428kbIncorect0
Punctaj total0

Ceva nu functioneaza?