數據結構與算法 ~ 數組和廣義表 ~ 對稱矩陣的壓縮存儲

數據結構與算法中數組和廣義表的對稱矩陣的壓縮存儲算法 /*對稱矩陣以一維數組進行存儲*/ #include<stdlib.h> #include<stdio.h> #define MAX 10 struct elem{ int data;/*元素值*/ }; typedef struct elem Elem; struct matrix{ int row;/*行數*/ int col;/*
相關文章
相關標籤/搜索