题意:
给出一个存钱罐的重量和没存钱之前存钱罐的重量,然后给出几种硬币的重量和币值,计算存钱罐里至少有多少钱。
题目:
Before ACM can do anything, a budget must be prepared and the necessary financial support obtain…
题意:
纯数题 1≤i≤n, fimax{a1,a2,…,ai}; 1≤i≤n, gimin{a1,a2,…,ai}; 1≤i≤n, hifi−gi. 数列a是一个排列,问多少种排列方式满足h数列。
题目:
DreamGrid has an interesting permutation of 1,2,…,n denoted by a1,a2,…,an. He …
题意:
杨辉三角,让从顶部开始走到底部,所经过的每一层的点数相加,使得实现最高和。
题目:
The cows don’t use actual bowling balls when they go bowling. They each take a number (in the range 0…99), thoug…