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) {
相关文章
相关标签/搜索