Problem | arrayfind |
---|---|
User | isaackhong |
Submission Time | 2023-02-03 16:54:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:27:24: error: invalid types ‘int[int]’ for array subscript
27 | if (queryLen[x] > listLen[i]){
| ^
arrayfind.cpp:27:37: error: invalid types ‘int[int]’ for array subscript
27 | if (queryLen[x] > listLen[i]){
| ^
arrayfind.cpp:29:31: error: invalid types ‘int[int]’ for array subscript
29 | } else if (queryLen[x] < listLen[i]){
| ^
arrayfind.cpp:29:44: error: invalid types ‘int[int]’ for array subscript
29 | } else if (queryLen[x] < listLen[i]){
| ^
arrayfind.cpp:37:78: error: expected ‘}’ at end of input
37 | cout << "Smaller: " << lessLen[x] << ", Greater: " << moreLen[x] << "\n";
|