随笔分类 - CF
摘要:Vova promised himself that he would never play computer games... But recently Firestorm — a well-known game developing company — published their newes
阅读全文
摘要:The only difference between easy and hard versions is constraints. There are nn kids, each of them is reading a unique book. At the end of any day, th
阅读全文
摘要:Pavel loves grid mazes. A grid maze is an n × m rectangle maze where each cell is either empty, or is a wall. You can go from one cell to another only
阅读全文
摘要:A company has n employees numbered from 1 to n. Each employee either has no immediate manager or exactly one immediate manager, who is another employe
阅读全文
摘要:Berland shop sells nn kinds of juices. Each juice has its price cici. Each juice includes some set of vitamins in it. There are three types of vitamin
阅读全文
摘要:Petr has just bought a new car. He's just arrived at the most known Petersburg's petrol station to refuel it when he suddenly discovered that the petr
阅读全文
摘要:Kuriyama Mirai has killed many monsters and got many (namely n) stones. She numbers the stones from 1 to n. The cost of the i-th stone is vi. Kuriyama
阅读全文

浙公网安备 33010602011771号