提交 d188561c 编写于 作者: _WhiteFlames_'s avatar _WhiteFlames_

Add new file

上级 9e25e84f
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,d;
scanf("%d%d",&n,&d);
printf("一二三四五六日\n");
for(int i=1;i<=d+1;i++)
printf(" ");
int rec=d-1;
for(int i=1;i<=n;i++)
{
printf("%-2d",i);
rec++;
if(rec==7)
{
printf("\n");
rec=0;
}
}
return 0;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册