我不是郭靖
写上注解不是更好么!!
写上注解不是更好么!!
#include <stdio.h>
int main()
{
int i, j;
int a[6][7] =
{
42, 21, 22, 23, 24, 25, 26,
41, 20, 7, 8, 9, 10, 27,
40, 29, 6, 1, 2, 11, 28,
39, 18, 5, 4, 3, 12, 29,
38, 17, 16, 15, 14, 13, 30,
37, 36, 35, 34, 33, 32, 31
};
for (i = 0; i < 6; i++)
{
for (j = 0; j < 7; j++)
printf("%4d", a[i][j]);
printf("\n");
}
return 0;
}
强啊,轻松解决!