Borderou de evaluare (job #2105836)

Utilizator alexge50alexX AleX alexge50 Data 14 ianuarie 2018 13:41:11
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 46

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] fscanf(fin, "%c ", &g_map.colormap[i][j]), g_map.colormap[i][j] -= '0'; ^ user.cpp:79:52: warning: array subscript has type ‘char’ [-Wchar-subscripts] fscanf(fin, "%c ", &g_map.colormap[i][j]), g_map.colormap[i][j] -= '0'; ^ user.cpp:79:72: warning: array subscript has type ‘char’ [-Wchar-subscripts] fscanf(fin, "%c ", &g_map.colormap[i][j]), g_map.colormap[i][j] -= '0'; ^ user.cpp:79:75: warning: array subscript has type ‘char’ [-Wchar-subscripts] fscanf(fin, "%c ", &g_map.colormap[i][j]), g_map.colormap[i][j] -= '0'; ^ user.cpp:84:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:84:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:84:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:84:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:86:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] == BLOCK_R) ^ user.cpp:86:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] == BLOCK_R) ^ user.cpp:90:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:90:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:90:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:106:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if((g_map.colormap[p2.m_l][p2.m_c] == BLOCK_WATER || g_map.colormap[p2.m_l][p2.m_c] == BLOCK_G) && !g_map.wasmap[p2.m_l][p2.m_c]) ^ user.cpp:106:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if((g_map.colormap[p2.m_l][p2.m_c] == BLOCK_WATER || g_map.colormap[p2.m_l][p2.m_c] == BLOCK_G) && !g_map.wasmap[p2.m_l][p2.m_c]) ^ user.cpp:106:87: warning: array subscript has type ‘char’ [-Wchar-subscripts] if((g_map.colormap[p2.m_l][p2.m_c] == BLOCK_WATER || g_map.colormap[p2.m_l][p2.m_c] == BLOCK_G) && !g_map.wasmap[p2.m_l][p2.m_c]) ^ user.cpp:106:95: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbLungime minima gresita4
20ms284kbOK!10
30ms284kbLungime minima gresita4
40ms300kbLungime minima gresita4
50ms424kbLungime minima gresita4
60ms308kbLungime minima gresita4
70ms336kbLungime minima gresita4
80ms404kbLungime minima gresita4
90ms292kbLungime minima gresita4
100ms308kbLungime minima gresita4
Punctaj total46

Ceva nu functioneaza?