由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 面试题求解
相关主题
请教一道面试题求解一道面试题
[合集] 面试题求解面试题求解。
一个面试题 求解求解一道很难的算法面试题
面试题,求解面试题求解
求解一道面试题面试题求解
一道面试题求解 (转载)面试题求解
一道面试题求解G面试题求解
两道面试题求解面试题求解:remove first duplicate number from an array
相关话题的讨论汇总
话题: either话题: number话题: say话题: whoever话题: design
进入JobHunting版参与讨论
1 (共1页)
f****e
发帖数: 923
1
Whoever counts to 100 first will be the winner. You start first with a
number
of either 1 or 2, and then the other adds either 1 or 2 to your number and
so on. Design a game so that you can always win.
l*****a
发帖数: 14598
2
u start with 1
then if he say 1 then u say 2,if he say 2 then u say 1(total is 3)
then u can always get 100

【在 f****e 的大作中提到】
: Whoever counts to 100 first will be the winner. You start first with a
: number
: of either 1 or 2, and then the other adds either 1 or 2 to your number and
: so on. Design a game so that you can always win.

y******0
发帖数: 93
3
你每次选完之后,保证最后剩下的都是3的倍数。

【在 f****e 的大作中提到】
: Whoever counts to 100 first will be the winner. You start first with a
: number
: of either 1 or 2, and then the other adds either 1 or 2 to your number and
: so on. Design a game so that you can always win.

p*****2
发帖数: 21240
4
大牛真聪明

【在 l*****a 的大作中提到】
: u start with 1
: then if he say 1 then u say 2,if he say 2 then u say 1(total is 3)
: then u can always get 100

s********l
发帖数: 998
5
赞一个~

【在 l*****a 的大作中提到】
: u start with 1
: then if he say 1 then u say 2,if he say 2 then u say 1(total is 3)
: then u can always get 100

1 (共1页)
进入JobHunting版参与讨论
相关主题
面试题求解:remove first duplicate number from an array求解一道面试题
一道面试题,求解一道面试题求解 (转载)
G家面试题求解一道面试题求解
一道微软面试题两道面试题求解
请教一道面试题求解一道面试题
[合集] 面试题求解面试题求解。
一个面试题 求解求解一道很难的算法面试题
面试题,求解面试题求解
相关话题的讨论汇总
话题: either话题: number话题: say话题: whoever话题: design