摘要:
Sorting It All OutTime Limit:2 Seconds Memory Limit:65536 KBAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to largest. For example, the sorted sequence A, B, C, D implies that A < B, B < C and C < 阅读全文
摘要:
Truck HistoryTime Limit:5 Seconds Memory Limit:32768 KBAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each type of atruck. The code is simply a string of exactly se 阅读全文
摘要:
QS NetworkTime Limit:2 Seconds Memory Limit:65536 KBSunny Cup 2003 - Preliminary RoundApril 20th, 12:00 - 17:00Problem E: QS NetworkIn the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If two QS want to get connected, they n 阅读全文