int a;
int b;
int c;
int remain_a;
int remain_b;
int remain_c;
}bank;
typedef struct node
char name[
int a;
int b;
int c;
int need_a;
int need_b;
int need_c;
}process;
bank banker;
process processes[MAX_P];
int quantity;
//初始化函數
void initial()
{
int i;
banker
banker
banker
banker
banker
banker
for(i= [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
From:http://tw.wingwit.com/Article/program/czxt/201311/24038.html