摘要:
Longest Ordered SubsequenceTime Limit: 2 Seconds Memory Limit:65536 KB A numeric sequence of ai is ordered if a1 #include#include#includeusing na... 阅读全文
摘要:
Climbing WormTime Limit: 2 Seconds Memory Limit:65536 KBAn inch worm is at the bottom of a well n inches deep. It has enough energy to climb u in... 阅读全文
摘要:
IBM Minus OneTime Limit: 2 Seconds Memory Limit:65536 KB You may have heard of the book '2001 - A Space Odyssey' by Arthur C. Clarke, or the film... 阅读全文
摘要:
Language of FatMouseTime Limit: 10 Seconds Memory Limit:32768 KBWe all know that FatMouse doesn't speak English. But now he has to be prepared si... 阅读全文
摘要:
Primary ArithmeticTime Limit: 2 Seconds Memory Limit:65536 KB Children are taught to add multi-digit numbers from right-to-left one digit at a ti... 阅读全文
摘要:
Big NumberTime Limit: 10 Seconds Memory Limit:32768 KB In many applications very large integers numbers are required. Some of these applications ... 阅读全文
摘要:
Least Common MultipleTime Limit: 2 Seconds Memory Limit:65536 KB The least common multiple (LCM) of a set of positive integers is the smallest po... 阅读全文
摘要:
Connect themTime Limit: 1 Second Memory Limit:32768 KBYou have n computers numbered from 1 ton and you want to connect them to make a small local... 阅读全文
摘要:
Seven-Segment DisplayTime Limit: 1 Second Memory Limit:65536 KBA seven segment display, or seven segment indicator, is a form of electronic displ... 阅读全文
摘要:
FriendsTime Limit: 2 Seconds Memory Limit: 65536 KB Alice lives in the country where people like to make friends. The friendship is bidirectional... 阅读全文