Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int get_max_series(int a[], int size)
- {
- int max = 0;
- if(size == 1)
- return 1;
- max = get_max_series(a+1, size-1);
- if(a[0] < a[1])
- {
- return max + 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement