From fe211e10b8d875cedbae57b72ca270668ec88890 Mon Sep 17 00:00:00 2001 From: bala <13452927+rfgsdhshgfh@user.noreply.gitee.com> Date: Sat, 13 Jan 2024 16:05:10 +0000 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E9=AB=98=E6=95=88=E6=8F=92?= =?UTF-8?q?=E5=85=A5=EF=BC=8C=E5=88=A0=E9=99=A4=E5=92=8C=E6=8C=89=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E6=89=BE=E7=9A=84=E6=95=B0=E6=8D=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bala <13452927+rfgsdhshgfh@user.noreply.gitee.com> --- ...0\346\215\256\347\273\223\346\236\204.cpp" | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 "2224020152/\347\254\254\344\271\235\345\215\225\345\205\203/\350\256\276\350\256\241\351\253\230\346\225\210\346\217\222\345\205\245\357\274\214\345\210\240\351\231\244\345\222\214\346\214\211\345\272\217\345\217\267\346\237\245\346\211\276\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204.cpp" diff --git "a/2224020152/\347\254\254\344\271\235\345\215\225\345\205\203/\350\256\276\350\256\241\351\253\230\346\225\210\346\217\222\345\205\245\357\274\214\345\210\240\351\231\244\345\222\214\346\214\211\345\272\217\345\217\267\346\237\245\346\211\276\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204.cpp" "b/2224020152/\347\254\254\344\271\235\345\215\225\345\205\203/\350\256\276\350\256\241\351\253\230\346\225\210\346\217\222\345\205\245\357\274\214\345\210\240\351\231\244\345\222\214\346\214\211\345\272\217\345\217\267\346\237\245\346\211\276\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204.cpp" new file mode 100644 index 00000000..9cc807db --- /dev/null +++ "b/2224020152/\347\254\254\344\271\235\345\215\225\345\205\203/\350\256\276\350\256\241\351\253\230\346\225\210\346\217\222\345\205\245\357\274\214\345\210\240\351\231\244\345\222\214\346\214\211\345\272\217\345\217\267\346\237\245\346\211\276\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204.cpp" @@ -0,0 +1,24 @@ + +#include + +#define MaxSize 10 +typedef struct { + int data[MaxSize]; + int length; +}SqList; + + +void InitList(SqList *L) { + for(int i=0; idata[i] = 0; + L->length = 0; + } +} + +int main() { + SqList L; + InitList(&L); + for(int i=0; i