Borderou de evaluare (job #1539314)

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

Raport evaluator

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

Ceva nu functioneaza?