You are viewing a single comment's thread. Return to all comments →
Everything is fine.. but what is q here.??
i think q is used for number of series you want to print .
0 2 10
5 3 5
here q=2 . which means 2 series. in 1st series a=0 b=2 n=10 and in 2nd a=5 b=3 c=5.
i hope i m correct. (Newbie here)
yes you got it right
On the first series you have n and the second you have c? explain please
I think that is a typing error, in the second series the values are a=5, b=3 and n=5.
Hope this helps!!!!
but actually what will be the equation will look like
Yup this ohe is clear.
in the given test case q=2
an in next q=3
It's super confusing, but "q" is taken care of for you and is actually called "t". Wtf! Yeah, I know.
no of test cases
just to decide number of enteries