the last four lines
4 3 2 1
1 3
798
1 2 3
stands for what?
Doubt in sample input in"Help Ramu" problem
You are supposed to take these input values in your code as,
int c1,c2,c3,c4; // Represents the cost of tickets
int n,m; // Represents the no of rickshaws and cabs.
int rickshaw[1000]; // You have to take array of rickshaw
int cab[1000]; // You have to take arrays of cab
The sample input contains two test case,
2
1 3 7 19
2 3
2 5
4 4 4
4 3 2 1
1 3
798
1 2 3
Thus last 4 lines represents the values of second case…