第9周 项目6-5 任务分配
2014-10-31 16:29
204 查看
问题及代码:
运行结果:
/*。 *Copyright(c)2014,烟台大学计算机学院 *All right reserved, *文件名:test.cpp *作者:liu_feng_zi_ *完成日期:2014年10月30日 *版本号:v1.0 * 问题描述:任务分配 *输入描述: *程序输出: */ #include <iostream> using namespace std; int main() { int a,b,c,d,e,f,count=0; for(a=0; a<=1; a++) for(b=0; b<=1; b++) for(c=0; c<=1; c++) for(d=0; d<=1; d++) for(e=0; e<=1; e++) for(f=0; f<=1; f++) if(a+b>=1&&(a+d)!=2&&a+e+f==2&&(b+c==0||b+c==2)&&c+d==1&&(d+e==0||d==1)) { count++; cout<<"方案:"<<count<<endl; cout<<"A:"<<a<<endl; cout<<"B:"<<b<<endl; cout<<"C:"<<c<<endl; cout<<"D:"<<d<<endl; cout<<"E:"<<e<<endl; cout<<"F:"<<f<<endl; } return 0; }
运行结果:
相关文章推荐
- 我该怎么安排下属的工作-项目经理如何分配任务
- 我该怎么安排下属的工作-项目经理如何分配任务
- 项目经理如何分配任务
- 第9周项目6委派任务
- 第9周项目6(4)-委派任务
- 艾伟也谈项目管理,工作感言:任务分配及管理
- 我该怎么安排下属的工作-项目经理如何分配任务
- 项目经理如何分配任务
- 团队项目之任务分配
- 我该怎么安排下属的工作-项目经理如何分配任务
- IT项目管理标准作业程序 1、任务分配
- 项目管理之任务分配
- 项目管理之任务分配
- (转) 项目经理如何分配任务
- 项目经理如何分配任务
- 我该怎么安排下属的工作-项目经理如何分配任务
- [转]做为项目经理(PM)该如何分配下属的每日工作任务?
- 我该怎么安排下属的工作-项目经理如何分配任务
- 【项目管理】PM如何给组员分配任务(转载)
- Daily Scrum 1 --团队项目所需时间估计以及任务分配