Problem | arrayfind |
---|---|
User | MajesticMist |
Submission Time | 2024-05-24 14:05:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:16:30: error: invalid types ‘long double[int]’ for array subscript
16 | scanf("%ld", &query[i]);
| ^
arrayfind.cpp:24:23: error: invalid types ‘long double[int]’ for array subscript
24 | if(query[i]>arr[j]){
| ^
arrayfind.cpp:27:23: error: invalid types ‘long double[int]’ for array subscript
27 | if(query[i]<arr[j]){
| ^