Problem | routine |
---|---|
User | zhaoqihui |
Submission Time | 2024-05-25 11:01:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
routine.cpp: In function ‘int main()’:
routine.cpp:10:30: error: invalid types ‘int[int]’ for array subscript
10 | for(int i=0;i<n;i++)cin>>t[i];
| ^
routine.cpp:11:30: error: invalid types ‘int[int]’ for array subscript
11 | for(int i=0;i<n;i++)cin>>a[i];
| ^
routine.cpp:13:6: error: invalid types ‘int[int]’ for array subscript
13 | t[n]=LLONG_MAX;
| ^
routine.cpp:21:15: error: invalid types ‘int[int]’ for array subscript
21 | if (q<t[mid])hi=mid-1;
| ^
routine.cpp:24:13: error: invalid types ‘int[int]’ for array subscript
24 | cout<<a[lo]<<'\n';
| ^