摘要:
Terrorists are around everywhere, they always make troubles by detonating bombs. The terrorist have some gunpowder to make bombs, different gunpowder 阅读全文
摘要:
Vitaly works at the warehouse. The warehouse can be represented as a grid of n × mcells, each of which either is free or is occupied by a container. F 阅读全文
摘要:
Description The cows have revised their game of leapcow. They now play in the middle of a huge pasture upon which they have marked a grid that bears a 阅读全文
摘要:
Although Inzane successfully found his beloved bone, Zane, his owner, has yet to return. To search for Zane, he would need a lot of money, of which he 阅读全文
摘要:
ACM (ACMers' Chatting Messenger) is a famous instant messaging software developed by Marjar Technology Company. To attract more users, Edward, the bos 阅读全文
摘要:
Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious sub 阅读全文
摘要:
Sasha and Kolya decided to get drunk with Coke, again. This time they have k types of Coke. i-th type is characterised by its carbon dioxide concentra 阅读全文
摘要:
Something happened in Uzhlyandia again... There are riots on the streets... Famous Uzhlyandian superheroes Shean the Sheep and Stas the Giraffe were c 阅读全文
摘要:
Anton likes permutations, especially he likes to permute their elements. Note that a permutation of n elements is a sequence of numbers {a1, a2, ..., 阅读全文
摘要:
As you probably know, Anton goes to school. One of the school subjects that Anton studies is Bracketology. On the Bracketology lessons students usuall 阅读全文
摘要:
C. Anton and Fairy Tale time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Anton likes to li 阅读全文
摘要:
https://vjudge.net/contest/154390#problem A题 题意:给你27个字符分别有I L E三种组成,问你是否能组组成3*3*3的一整块? 思路:可以发现当字符为 I 和 L时它的下一个块的位置固定,当字符是 L 时他有四个方向,所以利用深搜去搜索出是否可能组成。 阅读全文
摘要:
Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, because she 阅读全文
摘要:
Description The cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set of numbered boxes into which to hop, the cow 阅读全文
摘要:
Description FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjace 阅读全文
摘要:
Description Given a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in som 阅读全文
摘要:
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he c 阅读全文
摘要:
There are n employees in Alternative Cake Manufacturing (ACM). They are now voting on some very important question and the leading world media are try 阅读全文
摘要:
Kim is a college student who love computer games, but unfortunately his school just published a rule that Games should disappear in the campus , that 阅读全文