Problem sortingtrainers
User gghx
Submission Time 2023-11-21 06:22:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sortingtrainers.cpp: In function ‘int main()’:
sortingtrainers.cpp:11:9: error: ‘H’ was not declared in this scope
11 | if(a[i]<H && b[i]<H) last=i;
| ^
sortingtrainers.cpp:19:9: error: ‘H’ was not declared in this scope
19 | if(a[i]<H || b[i]<H){
| ^
sortingtrainers.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
sortingtrainers.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^