2011阿里巴巴程序设计公开赛 1001 Coin Game
来源:互联网 发布:病理图像分析软件 编辑:程序博客网 时间:2024/06/02 20:00
博奕题目
#include <iostream>using namespace std;int main(){int t,i;cin>>t;for(i=1;i<=t;i++){int n,k;cin>>n>>k;if(k>=n){printf("Case %i: first\n",i);}else if(n%2==1 && k==1){printf("Case %i: first\n",i);}else {printf("Case %i: second\n",i);}}return 0;}
- 2011阿里巴巴程序设计公开赛 / 1001 Coin Game
- 2011阿里巴巴程序设计公开赛 1001 Coin Game
- 2011阿里巴巴程序设计公开赛 / 1009 Board Game Dice
- 2011阿里巴巴程序设计公开赛 / 解题报告 8.18
- 2011阿里巴巴程序设计公开赛 / 1002 Fruit Ninja
- 2011阿里巴巴程序设计公开赛 总结(by胡浩)
- 2011阿里巴巴程序设计公开赛 / 1004 Level up
- HDU 3952 2011阿里巴巴程序设计公开赛
- 2011 阿里巴巴程序公开赛
- 2011百校联动“菜鸟杯”程序设计公开赛&&Flip Game
- 2011阿里巴巴程序设计公开赛 1003 I'll play a trick on you
- 2011阿里巴巴程序设计公开赛 / 1003 I'll play a trick on you
- 阿里巴巴公开赛 HDU 3959 Board Game Dice(数学)
- hdu Coin Game(11阿里巴巴网络赛)
- 阿里巴巴2011公开赛1004 Level up HDU 3954 线段树
- 2011百校联动“菜鸟杯”程序设计公开赛-解题报告
- 2011百校联动“菜鸟杯”程序设计公开赛
- 2011百校联动“菜鸟杯”程序设计公开赛 &&Powerful Incantation
- Excel导入SqlServer数据库(一)
- 今天关注了一下电驴
- dojo笔记2
- 2011阿里巴巴程序设计公开赛 / 1001 Coin Game
- windows下如何下载android源码
- 2011阿里巴巴程序设计公开赛 1001 Coin Game
- Perl之单行命令特技
- C++冒泡排序模板
- Milllion Dollar Habits
- 2011阿里巴巴程序设计公开赛 1003 I'll play a trick on you
- VIM常用命令
- 回文字符串 的添加问题
- 我中意的C面向对象编程模式
- OGRE中的消息传递机制