Problem routine
User Quackadodo110411
Submission Time 2024-05-25 10:42:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

routine.cpp:1:24: error: missing terminating > character
1 | #include <bits/stdc++.h
| ^
routine.cpp:26:5: error: unterminated comment
26 | /*
| ^
routine.cpp: In function ‘int main()’:
routine.cpp:8:27: error: ‘t’ was not declared in this scope
8 | for(int i=0;i<n;i++)cin>>t[i];
| ^
routine.cpp:9:27: error: ‘a’ was not declared in this scope
9 | for(int i=0;i<n;i++)cin>>a[i];
| ^
routine.cpp:11:2: error: ‘t’ was not declared in this scope
11 | t[n]=LLONG_MAX;
| ^
routine.cpp:20:7: error: expected primary-expression before ‘else’
20 | else lo=mid;
| ^~~~
routine.cpp:19:24: error: expected ‘)’ before ‘else’
19 | if(q<t[mid]hi=mid-1;
| ~ ^
| )
20 | else lo=mid;