摘要: #include <stdio.h> #define N 4 enum bool {TRUE, FALSE}; void print_Q(int *Q) { int i; for (i = 1; i <= N; i++) printf("%d, ", Q[i]); printf("\n"); } v 阅读全文
posted @ 2021-10-26 14:57 corsican 阅读(44) 评论(0) 推荐(0)
摘要: 1 #include <stdio.h> 2 #define LEN 10 3 #define NEGINF -999999 4 struct r_d { 5 int r; //profit 6 int s; //distance 7 }; 8 9 int price[LEN+1] = {0, 1, 阅读全文
posted @ 2021-10-26 14:56 corsican 阅读(47) 评论(0) 推荐(0)