Borderou de evaluare (job #2110285)

Utilizator alexge50alexX AleX alexge50 Data 20 ianuarie 2018 14:52:45
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms336kbOK!10
20ms304kbOK!10
30ms316kbOK!10
40ms356kbOK!10
50ms460kbOK!10
60ms356kbOK!10
70ms396kbOK!10
80ms464kbOK!10
90ms352kbOK!10
100ms356kbOK!10
Punctaj total100

Ceva nu functioneaza?