The Triangle 题目来源 Description 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1) Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the […]
LITTLE SHOP OF FLOWERS 题目来源 Description You want to arrange the window of your flower shop in a most pleasant way. You have F bunches of flowers, each being of a different kind, and at least as many v […]
Number Game 题目来源 Description Christine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.The players take turns choosing integers greater […]
Stockbroker Grapevine 题目来源 Description Stockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your em […]
Moving Tables 题目来源 Description The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms each on the north side […]
To the Max 题目来源 Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum […]