摘要:
The Production Manager of a dance company has been tasked with determining the cost for the seasonaldance recital. Because of their exceptional skills 阅读全文
摘要:
Polycarp is working on a new operating system called BerOS. He asks you to help with implementation of a file suggestion feature. There are n files on 阅读全文
摘要:
Polycarp has a lot of work to do. Recently he has learned a new time management rule: "if a task takes five minutes or less, do it immediately". Polyc 阅读全文
摘要:
Description Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different gende 阅读全文
摘要:
The classic Two Glass Balls brain-teaser is often posed as:“Given two identical glass spheres, you would like to determine the lowest floor in a 100-s 阅读全文
摘要:
For a string of n bits x1, x2, x3,…, xn, the adjacent bit count of the string (AdjBC(x)) is given by x1 ∗ x2 + x2 ∗ x3 + x3 ∗ x4 + . . . + xn−1 ∗ xnwh 阅读全文
摘要:
4556 The Next PermutationFor this problem, you will write a program that takes a (possibly long) string of decimal digits, andoutputs the permutation 阅读全文