Borderou de evaluare (job #2105844)

Utilizator alexge50alexX AleX alexge50 Data 14 ianuarie 2018 13:46:45
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:80: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:80: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:80: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:80: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:85:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:85:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:85:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:85:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] != BLOCK_WATER && !g_map.wasmap[i][j]) ^ user.cpp:87:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] == BLOCK_R) ^ user.cpp:87:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g_map.colormap[i][j] == BLOCK_R) ^ user.cpp:91:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:91:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:91:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] n_islands[g_map.colormap[i][j]] ++; ^ user.cpp:103: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.wasmap2[p2.m_l][p2.m_c]) ^ user.cpp:103: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.wasmap2[p2.m_l][p2.m_c]) ^ user.cpp:103: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.wasmap2[p2.m_l][p2.m_c]) ^ user.cpp:103:95: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbLungime minima gresita4
20ms288kbOK!10
30ms296kbLungime minima gresita4
40ms308kbLungime minima gresita4
50ms424kbLungime minima gresita4
60ms316kbLungime minima gresita4
70ms348kbLungime minima gresita4
80ms412kbLungime minima gresita4
90ms296kbLungime minima gresita4
100ms308kbLungime minima gresita4
Punctaj total46

Ceva nu functioneaza?