Borderou de evaluare (job #3167395)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 10 noiembrie 2023 18:14:39
Problema Joctv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve(char, char, char, char)': main.cpp:21:12: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | if(mem[lin1][col1][lin2][col2]) | ^~~~ main.cpp:21:18: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | if(mem[lin1][col1][lin2][col2]) | ^~~~ main.cpp:21:24: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | if(mem[lin1][col1][lin2][col2]) | ^~~~ main.cpp:21:30: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | if(mem[lin1][col1][lin2][col2]) | ^~~~ main.cpp:25:29: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | int current_value = mat[lin2][col2] - mat[lin1 - 1][col2] - mat[lin2][col1 - 1] + mat[lin1 - 1][col1 - 1]; | ^~~~ main.cpp:25:35: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | int current_value = mat[lin2][col2] - mat[lin1 - 1][col2] - mat[lin2][col1 - 1] + mat[lin1 - 1][col1 - 1]; | ^~~~ main.cpp:25:57: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | int current_value = mat[lin2][col2] - mat[lin1 - 1][col2] - mat[lin2][col1 - 1] + mat[lin1 - 1][col1 - 1]; | ^~~~ main.cpp:25:69: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | int current_value = mat[lin2][col2] - mat[lin1 - 1][col2] - mat[lin2][col1 - 1] + mat[lin1 - 1][col1 - 1]; | ^~~~ main.cpp:26:9: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | mem[lin1][col1][lin2][col2] = true; | ^~~~ main.cpp:26:15: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | mem[lin1][col1][lin2][col2] = true; | ^~~~ main.cpp:26:21: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | mem[lin1][col1][lin2][col2] = true; | ^~~~ main.cpp:26:27: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | mem[lin1][col1][lin2][col2] = true; | ^~~~ main.cpp: In function 'int main()': main.cpp:41:22: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | fin>>mat[i][j]; | ^ main.cpp:41:25: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | fin>>mat[i][j]; | ^ main.cpp:42:17: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | mat[i][j] += mat[i-1][j] + mat[i][j-1] - mat[i-1][j-1]; | ^ main.cpp:42:20: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | mat[i][j] += mat[i-1][j] + mat[i][j-1] - mat[i-1][j-1]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms4935kbMemory limit exceeded0
212ms4935kbMemory limit exceeded0
35ms659kbKilled by Signal 110
410ms655kbKilled by Signal 110
510ms659kbKilled by Signal 110
610ms651kbKilled by Signal 110
712ms4988kbMemory limit exceeded0
812ms4976kbMemory limit exceeded0
912ms4976kbMemory limit exceeded0
1012ms4972kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?