摘要:
TransformationsA square pattern of size N x N (1 #include using namespace std;const int maxn=11;int N;char before1[maxn][maxn],after1[maxn][maxn];bool... 阅读全文
摘要:
Milking CowsThree farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (mea... 阅读全文
摘要:
Broken NecklaceYou have a necklace of N red, white, or blue beads (3#include using namespace std;const int maxn=355;int N;char beads[maxn];int calcula... 阅读全文