1017. Staircases Time limit: 1.0 second Memory limit: 64 MB One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. Staircase consist
对应POJ题目:点击打开链接 Packets Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 46584 Accepted: 15752 Description A factory produces products packed in square packets of the same height
#include<stdio.h> int main(void) { int x1,x2,x3,x4,x5,x6,amount,x,y=0; //x1,x2,x3,.....代表1x1 ,2x2.....的箱子 while(~scanf("%d%d%d%d%d%d",&x1,&x2,&x3,&x4,&x5,&x6))