摘要:
StringsobitsKim SchrijversConsider an ordered set S of strings of N (1 #include#include#includeusing namespace std;int n,m;long long k;int dp[32][32];... 阅读全文
摘要:
ContactIOI'98The cows have developed a new interest in scanning the universe outside their farm with radiotelescopes. Recently, they noticed a very cu... 阅读全文
摘要:
Party LampsIOI 98To brighten up the gala dinner of the IOI'98 we have a set ofN(10 =0), i.e., 1,4,7,...A counter C records the total number of button ... 阅读全文
摘要:
Longest PrefixIOI'96The structure of some biological objects is represented by the sequence of their constituents, where each part is denoted by an up... 阅读全文
摘要:
Money SystemsThe cows have not only created their own government but they have chosen to create their own money system. In their own rebellious way, t... 阅读全文
摘要:
Controlling CompaniesSome companies are partial owners of other companies because they have acquired part of their total shares of stock. For example,... 阅读全文
摘要:
Agri-NetRuss CoxFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the ar... 阅读全文
摘要:
Bessie Come HomeKolstad & BurchIt's dinner time, and the cows are out in their separate pastures. Farmer John rings the bell so they will start walkin... 阅读全文
摘要:
Fractions to DecimalsWrite a program that will accept a fraction of the form N/D, where N is the numerator and D is the denominator and print the deci... 阅读全文