1.a,b,c,d,e中的每一個要么總是說假話要么總是說真話,他們知道他們各是什么樣的人
a說b是說謊者
b說c是說謊者
c說d是說謊者
d說e是說謊者
他們間最多可能有幾個說謊者?3個
分析:T;說真話;L:說假話
只有如下兩種情況
a:T,b:L,c:T,d:L,e:T
a:L,b:T,c:L,d:T,e:L
所以最多有3個說謊者
2.在她2007年的生日,MARY的年齡等于她出生年份的各個數(shù)字之和的兩倍,她出生的年份共有幾個?4個
分析:她的年齡最多56歲(2*(1+9+9+9)),所以從1950試到2007,為了方便,遍了一段代碼,語言是Visual Basic(2005)
Public Class Null '不限定包含于的窗體,所以定窗體名稱為空(Null)
Dim private_year As Integer = 1950
Dim calculated_year As ListBox
Private Sub calculate()
Do
If 2007 - private_year = 2 * Val((private_year.ToString.Substring(0,1)) + Val(private_year.ToString.Substring(1,1)) + Val(private_year.ToString.Substring(2,1)) + Val(private_year.ToString.Substring(3,1))) Then '從If到Then是一行
calculated_year.Items.Add(private_year)
End If
private_year = private_year + 1
Loop Until private_year >= 2007
End Sub
End Class
得到的結(jié)果是1959,1965,1971,2001四個年份
3.一個兩位數(shù)等于它各個數(shù)字之和的三倍,這樣的數(shù)有幾個?1個
分析:設(shè)十位數(shù)為x,個位數(shù)為y (x,y∈Z 1≤x≤9 0≤y≤9)
列出方程
10x + y = 3 * (x + y)
7x = 2y
這個方程只有 x = 2,y = 7 這一個解
所以這樣的數(shù)只有一個,27
三道英文數(shù)學題
三道英文數(shù)學題
1.each of a,b,c,d and e either always lies or is always truthful,and they know which each of them is.
a says b is a liar
b says that c is a liar
c says that d is a liar
d says that e is a liar
The largest possible number of liars among them can be______?
2.On her birthday in2007,mary 's age is equal to twice the sum of the digits of the year in which she was born,How many possible years are there in which she could have been born?
3.Hoe many two-digit numbers are equal to three times the product of their digits?
大致好像是明白,但就是中文的我可能也有困難呵呵
1.each of a,b,c,d and e either always lies or is always truthful,and they know which each of them is.
a says b is a liar
b says that c is a liar
c says that d is a liar
d says that e is a liar
The largest possible number of liars among them can be______?
2.On her birthday in2007,mary 's age is equal to twice the sum of the digits of the year in which she was born,How many possible years are there in which she could have been born?
3.Hoe many two-digit numbers are equal to three times the product of their digits?
大致好像是明白,但就是中文的我可能也有困難呵呵
英語人氣:951 ℃時間:2019-12-28 01:25:46
優(yōu)質(zhì)解答
我來回答
類似推薦
- 幫忙做3道英文數(shù)學題
- an equation of the line tangent to the graph of f(x)=x(1-2x)^3 at the point (1,-1) is?
- 英語翻譯
- 翻譯:1、我不再吃油炸食物了.I _____ eat fried food _____ ______.
- 英文的數(shù)學題
- 為什么有人說可以氧化,有人說不能氧化..濃硫酸氧化乙烯可不可以啊?
- 一種飲料是由鮮橙汁和純水配制而成,鮮橙汁與純水的比是1:4.如果配成的飲料中,鮮橙汁和純水的平均數(shù)是800毫升,那么鮮橙汁和純水各用去多少毫升?
- 0度的角是什么角?
- 買5千克蘋果和3千克梨共33.5元,買同樣的3千克蘋果和5千克梨要用31.3元,蘋果和梨一千克多少元?
- 蘇教版六年級上冊語文教案第六課 中的“權(quán)利”是什么意思?
- I find this computer game _____to play.
- 宇宙到底有沒有盡頭啊
猜你喜歡
- 1圓C方程為(x+2)^2+y^2=4,動點p到圓c上點的最近距離與它到x軸距離相等,求P的軌跡方
- 2一輛汽車從甲地開往乙地用了1.2小時,汽車的速度是78.3千米/時,甲、乙兩地距離有多少千米?
- 3已知點F是雙曲線x^2/4-y^2/12=1的左焦點,A(1,4),點P是雙曲線右支上的一點,求|PA|+|PF|最小值
- 4假如給我三天光明主要內(nèi)容50字內(nèi)
- 5①來得突然——跟著一陣陣濕潤的山風,跟著一縷縷輕盈的云霧,雨,悄悄地來了.
- 6食品店運來大米36袋,面粉64袋,每袋大米和面粉都是25千克,共運來大米和面粉多少
- 7根據(jù)首字母填空:There are many beautiful b____ in Qingdao.
- 8如何除去碳酸鹽、硝酸鹽、硫酸鹽
- 9物體的擴散速度與什么有關(guān)?是否是只與溫度和物態(tài)有關(guān)呢?
- 10已知cos(α-β)=-12/13,cos(α+β)=12/13,且α-β∈(π/2,π),α+β∈(3π/2,2π),求角2β的值
- 11廣場上的大鐘5時敲響5下,8秒敲完,12時敲響12下,需要多長時間?
- 12問Do you like reading 可不可以回答absolutely這個詞然后再說理由