#include <iostream>
#include<stdio.h>
#include<algorithm>
#include<string.h>
#include<math.h>
using namespace std;
#define ENTER printf("\n");
int t;
int n;
int main()
{
scanf("%d", &t);
for(int j=1;j<=t;j++)
{
scanf("%d", &n);
int m = 10 - n / 10;
printf("Case #%d:\n", j);
printf("*------------*\n");
for (int i = 1; i <= m; i++)
{
printf("|............|\n");
}
for (int i = m + 1; i <= 10; i++)
{
printf("|------------|\n");
}
printf("*------------*\n");
}
return 0;
}
HDU 4716 水的嘛就不谈了
最新推荐文章于 2021-08-29 19:27:16 发布