This is a very comprehensive 94-part course on competitive programming. It gets you from knowing basic programming to being a yellow-red rated coder on Codeforces / CodeChef / TopCoder / etc.
How tho solve subtask2(Find the total number of such optimal lightings in the city) of Problem VOCV. help :(
Can't understand how to solve CHAIN - Strange Food Chain spoj problem :(