Borderou de evaluare (job #3167382)

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

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
11ms2129kbOK10
21ms2129kbOK10
35ms5042kbMemory limit exceeded0
44ms4751kbMemory limit exceeded0
55ms4751kbMemory limit exceeded0
65ms4751kbMemory limit exceeded0
75ms4751kbMemory limit exceeded0
85ms4751kbMemory limit exceeded0
95ms4964kbMemory limit exceeded0
105ms4751kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?