英文题目翻译16

英文原题:题目来源:https://acs.jxnu.edu.cn/problem/ICPCJX2020J

Split Game

 1000ms  131072K

描述:

Alice and Bob like to cut paper, but they only have one piece of new paper. Both of them want to use this one, but no one wants to split the new paper. Therefore, Alice and Bob decide to fight...in a game.

Alice find an old rectangular paper that consists of N*M grids. Two players take turns and Alice goes first. In each round of action, the player chooses a piece of paper and splits it horizontally or vertically along the grid line. If one player splits out a piece of paper with a single grid, he or she will lose the game. Alice and Bob are smart, and both of them want to win the game. Now you know the size of paper, please predict who will win.

输入:

Each line contains two integer numbers NN and MM, Process to end of file. (1<=N,M<=150,N∗M>1)(1<=N,M<=150,N∗M>1)

输出:

For each case, output the name of the winner.

翻译:

分裂游戏

描述:

爱丽丝和鲍勃喜欢剪纸,但他们只有一张纸。 他俩都想使用这张,但没有人想将纸分开来用。 因此,爱丽丝和鲍勃决定进行一场赌斗。

爱丽丝找到一个由N * M网格组成的旧矩形纸。 两人轮流矩进行,爱丽丝先走。 在每一轮动作中,双方选择一张纸并沿着网格线水平或垂直分裂。 如果一方用一个网格分开一张纸,就将输掉这场赌斗。 爱丽丝和鲍勃都很机智,他们都想赢。 现在你知道纸张的大小,请预测谁将获胜。

输入:

每行输入两个整数 N 和 M  (1<=N,M<=150,N∗M>1)(1<=N,M<=150,N∗M>1)输入为空时停止输入

输出:

为每行输入输出赢家的名字。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值