精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 三道英文數(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?
    大致好像是明白,但就是中文的我可能也有困難呵呵
    英語人氣:951 ℃時間:2019-12-28 01:25:46
    優(yōu)質(zhì)解答
    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
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版