Borderou de evaluare (job #2401722)

Utilizator axelteoTeodor Dutu axelteo Data 9 aprilie 2019 23:02:19
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int fill(const Pos&, char)': main.cpp:31:21: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] == '0' && !dist[crtPos.l][crtPos.c] && type == '1') { ^ main.cpp:31:31: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] == '0' && !dist[crtPos.l][crtPos.c] && type == '1') { ^ main.cpp:31:57: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] == '0' && !dist[crtPos.l][crtPos.c] && type == '1') { ^ main.cpp:31:67: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] == '0' && !dist[crtPos.l][crtPos.c] && type == '1') { ^ main.cpp:32:22: warning: array subscript has type 'char' [-Wchar-subscripts] dist[crtPos.l][crtPos.c] = 1; ^ main.cpp:32:32: warning: array subscript has type 'char' [-Wchar-subscripts] dist[crtPos.l][crtPos.c] = 1; ^ main.cpp:38:21: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] != type || mark[crtPos.l][crtPos.c]) { ^ main.cpp:38:31: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] != type || mark[crtPos.l][crtPos.c]) { ^ main.cpp:38:57: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] != type || mark[crtPos.l][crtPos.c]) { ^ main.cpp:38:67: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[crtPos.l][crtPos.c] != type || mark[crtPos.l][crtPos.c]) { ^ main.cpp:45:18: warning: array subscript has type 'char' [-Wchar-subscripts] mark[crtPos.l][crtPos.c] = true; ^ main.cpp:45:28: warning: array subscript has type 'char' [-Wchar-subscripts] mark[crtPos.l][crtPos.c] = true; ^ main.cpp: In function 'int main()': main.cpp:107:30: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[nextPos.l][nextPos.c] == '2') { ^ main.cpp:107:41: warning: array subscript has type 'char' [-Wchar-subscripts] if (map[nextPos.l][nextPos.c] == '2') { ^ main.cpp:108:36: warning: array subscript has type 'char' [-Wchar-subscripts] len = dist[crtPos.l][crtPos.c]; ^ main.cpp:108:46: warning: array subscript has type 'char' [-Wchar-subscripts] len = dist[crtPos.l][crtPos.c]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK!10
22ms131kbOK!10
32ms131kbOK!10
43ms131kbOK!10
53ms262kbOK!10
63ms131kbOK!10
73ms262kbOK!10
83ms262kbOK!10
94ms131kbOK!10
103ms131kbOK!10
Punctaj total100

Ceva nu functioneaza?