摘要:
DescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) $ \i... 阅读全文
摘要:
紫书例题p245Piotr found a magical box in heaven. Its magic power is that if you place any red balloon inside it then, after one hour, it will multiply to ... 阅读全文
摘要:
UVA - 1605Time Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluDescriptionThe United Nations has decided to build a new headquarters in Sai... 阅读全文
摘要:
UVA - 120Stacks of FlapjacksTime Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluDescriptionBackgroundStacks and Queues are often considere... 阅读全文
摘要:
My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F... 阅读全文