Problem twochoices
User brat
Submission Time 2025-09-25 11:16:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twochoices.cpp: In function ‘int main()’:
twochoices.cpp:19:45: error: invalid types ‘long long int[long long int]’ for array subscript
19 | for (int d = 0; d < m; d++) {if (arr[i][d] != arr[j][d]) {count++;}}
| ^
twochoices.cpp:19:58: error: invalid types ‘long long int[long long int]’ for array subscript
19 | for (int d = 0; d < m; d++) {if (arr[i][d] != arr[j][d]) {count++;}}
| ^
twochoices.cpp:19:62: error: reference to ‘count’ is ambiguous
19 | for (int d = 0; d < m; d++) {if (arr[i][d] != arr[j][d]) {count++;}}
| ^~~~~
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from twochoices.cpp:1:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:101:1: