I know c. now studying c++ for my next course. I know the basics i think. Im having problems with competitive problems. Not sure if i need to study theories for them or have to think. Like the problem lightoj 1010. Is there any theory to solve such problems? Or do i have to find the pattern by trying different test case results by hand and find the pattern.

... View more