题解列表

筛选

蛇行矩阵 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,t=1; scanf("%d",&n); int a[n][n]; for(i=0;i<n;……

校门外的树 (C语言代码)

摘要:解题思路:注意事项:此题最为重要的是不能直接两个端点相减,因为有重复的地方,所以用一个数组记录树的状态,在0,拔去1,即可参考代码:    #include<stdio.h>        int m……