摘要:
Word文档(栈) #include <stdio.h> #include <string.h> #define MAX_OPS 10000 // 定义最大操作数 #define MAX_STR_LEN 31 // 定义最大字符串长度 // 栈相关操作 int topA = -1; // 栈A的栈顶 阅读全文
posted @ 2024-09-19 17:00
yesno233233
阅读(21)
评论(0)
推荐(0)
摘要:
happiness(栈) // happiness #include <stdio.h> #include <stdlib.h> #define MAX_N 100000 // 函数声明 int max_happiness(int n, int w[]); int main() { int n; / 阅读全文
posted @ 2024-09-19 15:59
yesno233233
阅读(27)
评论(0)
推荐(0)
浙公网安备 33010602011771号