Moderator: Board moderators
Adrian Kuegel wrote:Isn't there also something like this in reality?
What about putting water into acid, or acid into water?
If I recall it right, I learned in school, you should never put water into acid, only acid into water.
UFP2161 wrote:Use memoization on that fact that you only have 10 possible tubes.
subbu wrote:Ohh wait was that WA in 4 sec.
The limit is 10 tubes right?
I made such mistake once with a limit of 50,and it timed out.
I forgot, mixing A with B need not be same as mixing B with A.
for (int y=1;y<w;y++)
for (int l=0;l<w;l++)
this could be changed to reflect that.
Users browsing this forum: Bing [Bot] and 1 guest