NOJ-1005:裝載問題-西工大算法

#include <stdio.h> #include <stdlib.h> int n, c1, c2; int weight[150]; int flag[150]; int maxWeight, curWeight, weightSum; void inPut(); void dfs(int i); int main() { int i; while(1) {
相關文章
相關標籤/搜索