Pagini recente » Borderou de evaluare (job #2534597) | Borderou de evaluare (job #3159587) | Borderou de evaluare (job #2676978) | Borderou de evaluare (job #2671728) | Borderou de evaluare (job #3167382)
Borderou de evaluare (job #3167382)
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 |
1 | 1ms | 2129kb | OK | 10 |
2 | 1ms | 2129kb | OK | 10 |
3 | 5ms | 5042kb | Memory limit exceeded | 0 |
4 | 4ms | 4751kb | Memory limit exceeded | 0 |
5 | 5ms | 4751kb | Memory limit exceeded | 0 |
6 | 5ms | 4751kb | Memory limit exceeded | 0 |
7 | 5ms | 4751kb | Memory limit exceeded | 0 |
8 | 5ms | 4751kb | Memory limit exceeded | 0 |
9 | 5ms | 4964kb | Memory limit exceeded | 0 |
10 | 5ms | 4751kb | Memory limit exceeded | 0 |
Punctaj total | 20 |