看你的太费劲,索性重写了一遍
#include<stdio.h>
#include<stdlib.h>
int main()
{
printf("输入:");
int q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h;
scanf("%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d",&q,&w,&e,&r,&t,&y,&u,&i,&o,&p,&a,&s,&d,&f,&g,&h);
printf("%d%d%d%d\n%d%d%d%d\n%d%d%d%d\n%d%d%d%d",q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h);
printf("%d");
return 0;
}
建议用数组遍历,这样节省时间也方便查错