Borderou de evaluare (job #2834344)

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

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
12ms184kbEroare de prezentare0
22ms184kbEroare de prezentare0
32ms184kbEroare de prezentare0
42ms184kbEroare de prezentare0
52ms184kbEroare de prezentare0
62ms184kbEroare de prezentare0
76ms331kbEroare de prezentare0
86ms335kbEroare de prezentare0
949ms1179kbEroare de prezentare0
1035ms892kbEroare de prezentare0
Punctaj total0

Ceva nu functioneaza?