-
-
-
-
Acm, a treasure-explorer, is exploring again. This time he is in a
special maze, in which there are some doors (at most 5 doors,
represented by 'A', 'B', 'C', 'D', 'E' respectively). In order to find
the treasure, Acm may need to open doors. However, to open a door he
needs to find all the door's keys (at least one) in the maze first. For
example, if there are 3 keys of Door A, to open the door he should find
all the 3 keys first (that's three 'a's which denote the keys of 'A' in
the maze). Now ...
阅读题目
问答题
经典指数
-
-
-
-
-
People in Silverland use coins.They have coins of value A1,A2,A3...An
Silverland dollar.One day Tony opened his money-box and found there were
some coins.He decided to buy a very nice watch in a nearby shop. He
wanted to pay the exact price(without change) and he known the price
would not more than m.But he didn't know the exact price of the watch.
You are to write a program which reads n,m,A1,A2,A3...An and
C1,C2,C3...Cn corresponding to the number of Tony's coins of value
A1,A2,A3...An then c ...
阅读题目
问答题
经典指数
-