2026年7月27日
摘要: # this is 9*9 Sudoku grid = [] grid.append([3, 0, 6, 5, 0, 8, 4, 0, 0]) grid.append([5, 2, 0, 0, 0, 0, 0, 0, 0]) grid.append([0, 8, 7, 0, 0, 0, 0, 3, 阅读全文
posted @ 2026-07-27 16:35 Rabbit_XIN 阅读(2) 评论(0) 推荐(0)
摘要: Advantage: Comparing fixed length of binary corresponds a character, this method can save memory. class node: def __init__(self, value = '', left = No 阅读全文
posted @ 2026-07-27 16:23 Rabbit_XIN 阅读(1) 评论(0) 推荐(0)
  2024年1月8日
摘要: #include <stdio.h> #include <stdlib.h> #define Elemtype int #define ERROR -1 /* 带头节点的双向链表循环实现 */ typedef struct Node { Elemtype e; Node* next; Node* f 阅读全文
posted @ 2024-01-08 10:41 Rabbit_XIN 阅读(35) 评论(0) 推荐(0)
  2024年1月5日
摘要: #include <stdio.h> #include <stdlib.h> #define Elemtype int #define ERROR -1 /* 循环链表实现 */ typedef struct Node { Elemtype e; Node* next; }Node,*LinkLis 阅读全文
posted @ 2024-01-05 22:36 Rabbit_XIN 阅读(33) 评论(0) 推荐(0)
  2024年1月4日
摘要: #include <stdio.h> #include <stdlib.h> #define Elemtype int #define ERROR -1 typedef struct Node { Elemtype e; Node* next; }Node,*LinkList; void InitL 阅读全文
posted @ 2024-01-04 11:22 Rabbit_XIN 阅读(22) 评论(0) 推荐(0)
  2023年12月24日
摘要: #include <stdio.h> #include <stdlib.h> #include "ConsoleApplication1.h" // Use dynamic array to create list #define MaxSize 100 #define AddSize 10 #de 阅读全文
posted @ 2023-12-24 21:54 Rabbit_XIN 阅读(34) 评论(0) 推荐(0)
  2023年12月21日
摘要: // ConsoleApplication1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <stdio.h> #define MaxSize 100 #define Elemtype int typedef struct { Elemtype L 阅读全文
posted @ 2023-12-21 16:14 Rabbit_XIN 阅读(35) 评论(0) 推荐(0)
  2023年12月7日
摘要: // // main.c // Hello // // Created by renxin on 2023/11/28. // #define ElemType int #define MaxSize 50 #include <stdio.h> #include <stdlib.h> typedef 阅读全文
posted @ 2023-12-07 11:43 Rabbit_XIN 阅读(50) 评论(0) 推荐(0)
  2023年11月30日
摘要: 代码是对整数的 如果要对小数的话 改个字符就OK啦 用途没有 就是做线性代数怕计算罢了 #include <stdio.h> void createMatrix(int a[10][10], int m, int n) { for (int i = 0;i < m; ++i) { for (int 阅读全文
posted @ 2023-11-30 11:57 Rabbit_XIN 阅读(53) 评论(0) 推荐(0)
  2022年12月8日
摘要: GPS数据处理 题目内容: NMEA-0183协议是为了在不同的GPS(全球定位系统)导航设备中建立统一的BTCM(海事无线电技术委员会)标准,由美国国家海洋电子协会(NMEA-The National Marine Electronics Associa-tion)制定的一套通讯协议。GPS接收机 阅读全文
posted @ 2022-12-08 22:13 Rabbit_XIN 阅读(90) 评论(0) 推荐(0)