C-study/01/2/2.c

9 lines
127 B
C
Raw Normal View History

2021-09-16 13:20:29 +00:00
#include<stdio.h>
int main()
{ int x;
scanf("%d",&x);
printf("%d %d %d\n%d %d\n%d %d %d",x-1,x-1,x-1,x,x,x+1,x+1,x+1);
}