摘要:
#include <stdio.h> #include <stdlib.h> typedef struct Term { int coef; int exp; struct Term *next; } Term; Term* readPoly() { int n; scanf("%d", &n); 阅读全文
posted @ 2025-12-24 10:02
我不是青山
阅读(6)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct Node { int data; struct Node* next; } Node; Node* createNode(int data) { Nod 阅读全文
posted @ 2025-12-24 10:02
我不是青山
阅读(3)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> struct node { int data; struct node *next; }; struct node *create_circle(int n) { if (n == 0) return NULL; stru 阅读全文
posted @ 2025-12-24 10:01
我不是青山
阅读(8)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define MAX_SIZE 1000 // Function to return precedence of operators // * 阅读全文
posted @ 2025-12-24 10:01
我不是青山
阅读(4)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> int main() { char expr[51]; int round = 0, square = 0, curly = 0; int badRound = 0, badSquare = 0, badCurly = 0 阅读全文
posted @ 2025-12-24 10:00
我不是青山
阅读(4)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> int main() { char A[10005]; char B[10005]; int flag[256] = {0}; gets(A); gets(B); int lenB = strlen(B); for (in 阅读全文
posted @ 2025-12-24 09:59
我不是青山
阅读(5)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX_TEXT_LEN 1000005 #define MAX_PATTERN_LEN 100005 char text[MAX_TEXT_LEN]; char p 阅读全文
posted @ 2025-12-24 09:58
我不是青山
阅读(4)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> // Definition of the Binary Search Tree Node typedef struct Node { int key; struct Node *left; struct Node *rig 阅读全文
posted @ 2025-12-24 09:58
我不是青山
阅读(4)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> typedef struct Node { int key; struct Node *left; struct Node *right; } Node; Node* createNode(int key) { Node* 阅读全文
posted @ 2025-12-24 09:57
我不是青山
阅读(4)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> // Structure for an AVL tree node struct Node { int key; struct Node *left; struct Node *right; int height; }; 阅读全文
posted @ 2025-12-24 09:57
我不是青山
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号