Borderou de evaluare (job #2834346)

Utilizator MateiAruxandeiMateiStefan MateiAruxandei Data 16 ianuarie 2022 20:53:36
Problema Parcare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:22: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | minn[ch] = min(minn[ch], {i - 1, j - 1}); | ^~ main.cpp:33:37: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | minn[ch] = min(minn[ch], {i - 1, j - 1}); | ^~ main.cpp:34:22: warning: array subscript has type 'char' [-Wchar-subscripts] 34 | maxx[ch] = max(maxx[ch], {i - 1, j - 1}); | ^~ main.cpp:34:37: warning: array subscript has type 'char' [-Wchar-subscripts] 34 | maxx[ch] = max(maxx[ch], {i - 1, j - 1}); | ^~ main.cpp:80:40: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | if(dir[mat[i][j]] && ((mat[i][j - 1] < 'A' && j - 1 == 1) || (mat[i][j + 1] < 'A' && j + 1 == n))) | ~~~~~~~~^ main.cpp:82:41: warning: array subscript has type 'char' [-Wchar-subscripts] 82 | if(!dir[mat[i][j]] && ((mat[i - 1][j] < 'A' && i - 1 == 1) || (mat[i + 1][j] < 'A' && i + 1 == n))) | ~~~~~~~~^ main.cpp:108:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 108 | for(int i = 0; i < rez.size(); ++i) | ~~^~~~~~~~~~~~ main.cpp:130:36: warning: array subscript has type 'char' [-Wchar-subscripts] 130 | if(dir[mat[i][j]]) | ~~~~~~~~^ main.cpp:136:51: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:136:92: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:137:52: warning: array subscript has type 'char' [-Wchar-subscripts] 137 | newMsk |= ((mn[mat[i][j]] - 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] - 1) << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:137:99: warning: array subscript has type 'char' [-Wchar-subscripts] 137 | newMsk |= ((mn[mat[i][j]] - 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] - 1) << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:148:51: warning: array subscript has type 'char' [-Wchar-subscripts] 148 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:148:92: warning: array subscript has type 'char' [-Wchar-subscripts] 148 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:149:52: warning: array subscript has type 'char' [-Wchar-subscripts] 149 | newMsk |= ((mn[mat[i][j]] + 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] + 1) << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:149:99: warning: array subscript has type 'char' [-Wchar-subscripts] 149 | newMsk |= ((mn[mat[i][j]] + 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] + 1) << (6 * dist + 3)); | ~~~~~~~~^ main.cpp:163:51: warning: array subscript has type 'char' [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOk10
22ms184kbOk10
32ms200kbOk10
42ms184kbOk10
52ms184kbOk10
62ms184kbOk10
76ms331kbOk10
86ms311kbOk10
949ms1171kbOk10
1035ms888kbOk10
Punctaj total100

Ceva nu functioneaza?