摘要:
DNA Sorting Time Limit: 1000MSMemory Limit: 10000K Total Submissions: 52558Accepted: 20563 Description One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence ``DAABEC'', th 阅读全文
摘要:
487-3279 Time Limit: 2000MSMemory Limit: 65536K Total Submissions: 152444Accepted: 26004 Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the University of Waterloo 阅读全文
摘要:
Frogger Time Limit: 1000MSMemory Limit: 65536K Total Submissions: 11751Accepted: 3932 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but since the water is dirty and full of tourists' s 阅读全文
摘要:
Currency Exchange Time Limit: 1000MSMemory Limit: 30000K Total Submissions: 8399Accepted: 2758 Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchange operations only with these currencies. Th 阅读全文