Code: https://ide.codingblocks.com/s/448127
Problem: https://www.spoj.com/problems/MIXTURES/
Please check code for Mixtures problem on SPOJ
i cannot see this in live doubts section, some other ta is taking it.
pls wait for sometime , if u dont get any response then reopen it.
hey @aman212yadav The entire code is correct and works fine just one statement is problematic: while((scanf("%d",&n))!=EOF){}
Which we have used because in the problem number of test cases are not given as input. We are just given various inputs to find answer. Please check the statement why is it giving problems.
pls reopen this doubt , or raise another doubt, i will check