Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » 经典难题

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
喝汽水.
View previous topic :: View next topic  
Author Message
badog
论坛管理员


Joined: 01 Nov 2006
Posts: 1021

小企鹅: 6575

PostPosted: 2006-Dec-11 Mon, pm12:11 Reply with quote
 Post subject: 喝汽水.

1元钱一瓶汽水,喝完后两个空瓶换一瓶汽水,问:你有20元钱,最多可以喝到几瓶汽水?
Back to top
View user's profile Send private message Send e-mail
wowotou



Joined: 27 Nov 2006
Posts: 38

小企鹅: 1101

PostPosted: 2006-Dec-12 Tue, pm5:45 Reply with quote
 Post subject:

这个 如果我喝 最多3就够了 肚子装不下
第一次20
第二次10
第三次5
第四次2(剩1空瓶 别扔)
第五次1
第六次1(用上了)
第七次0(剩1空瓶)
20+10+5+2+1+1=39

按说汽水和空瓶的价格都是0.5 应该是40 可是最后那个空瓶没用 可惜了
Back to top
View user's profile Send private message
Ryo



Joined: 05 Dec 2006
Posts: 27

小企鹅: 129

PostPosted: 2006-Dec-13 Wed, pm5:16 Reply with quote
 Post subject:

当然是借机生蛋了。 Very Happy

这种问题求极值,就是应该用20/0.5来算的。

_________________
神龙见首不见鸟~
Back to top
View user's profile Send private message
tanck



Joined: 21 Jan 2007
Posts: 5

小企鹅: 138

PostPosted: 2007-Jan-21 Sun, am3:17 Reply with quote
 Post subject:

赞成Ryo的说法
既然汽水和空瓶等值
完全可以先借一瓶汽水然后还两个空瓶啦
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » 经典难题 All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional