摘要: 1 #include <stdio.h> 2 #define N 6//宏 3 int main(int argc, const char *argv[]) 4 { 5 int a[N][N]; 6 int i,j; 7 for(i=0;i<N;i++)//外循环,第一列和最后一列都是1 8 { 9 阅读全文
posted @ 2023-02-15 13:47 不思故乡 阅读(23) 评论(0) 推荐(0)
摘要: 1 #include <stdio.h> 2 int main(int argc, const char *argv[]) 3 { 4 int i,j,t,count; 5 int a[]={1,85,45,12,14,12,14,78,45,69}; 6 int n = sizeof(a)/siz 阅读全文
posted @ 2023-02-15 10:29 不思故乡 阅读(57) 评论(0) 推荐(0)