首页
登录
职称英语
A certain online form requires a 2-digit code for the day of the month to be ent
A certain online form requires a 2-digit code for the day of the month to be ent
游客
2024-01-13
76
管理
问题
A certain online form requires a 2-digit code for the day of the month to be entered into one of its fields such as 04 for the 4th day of the month.The code is valid if it is 01,02,03…31 and not valid otherwise. The transpose of a code xy is yx.For example,40 is the transpose of 04.If N is the number of valid codes having a transpose that is not valid,what is the value of N?
选项
A、12
B、13
C、18
D、19
E、20
答案
D
解析
It will be quicker to count the number of valid codes whose transposes are valid codes, and then subtract the result from 31 (the number of valid codes) to obtain the value of N.
Three such codes begin with 0: 01,02,03. The rest are such that their transposes are invalid codes.
Four such codes begin with 1:10,11,12,13. The rest are such that their transposes are invalid codes.
Three such codes begin with 2:20,21,22. The rest are such that their transposes are invalid codes.
Two such codes begin with 3: 30,31. The rest are invalid codes.
Therefore, the total number of valid codes whose transposes are valid codes is 3 + 4 + 3 + 2 =12, and hence the total number of valid codes whose transposes are not valid is 31 - 12 = 19.
The correct answer is D.
转载请注明原文地址:http://tihaiku.com/zcyy/3360051.html
相关试题推荐
Inasecondhandbookshop,Billycameacrossabookwhichhethoughtwascertain
Nomatterwhoyouareorwhereyoucomefrom,onethingiscertain:youarea
Nomatterwhoyouareorwhereyoucomefrom,onethingiscertain:youarea
Customer:______Receptionist:Certainly,doyouhaveareservation?Customer:
Understandingthistransitionrequiresalookatthetwo-sidedconnectionbe
Infact,manystudiesindicatethatafteracertainpoint,anyone’sproductivity
Canonlineeducationeverbeeducationoftheverybestsort?NotlongagoI
Ourpreferencesforcertaincolorsare______accordingtothepassage.[br]Whi
Ourpreferencesforcertaincolorsare______accordingtothepassage.[br]If
Thedegree______youmaintainyourmentalhealthmaydependoncertainsimpleenv
随机试题
【11】[br]【14】[originaltext]Female:LadiesandGentlemen-welcometoAuckl
Thepolicemansaidthattheyoungmanwas______fortheaccident.A、responsibility
[originaltext]M:Honey,thebasketballgameisabouttostart.Andcouldyoubr
对性交后试验(PCT)错误的描述是A.通过PCT可了解宫颈黏液内精子数量及活动情
烤瓷合金的哪项应与金属烤瓷材料尽量接近A.热传导系数 B.抗压强度 C.热膨
某日,沪深300现货指数为3500点,市场年利率为5%,年指数股息率为1%。若不
装配式梁(板)施工方案编制前,应对施工现场条件和()进行充分调研和评估。A、周边
患者腹痛肠鸣,泻下粪便臭如败卵,泻后痛减,泻而不爽,伴有不消化食物,脘腹胀满,嗳
关于铜绿假单胞菌,下列选项中错误的是A.产生水溶性色素B.对多种抗生素不敏感C.
吊顶工程中的预埋件、钢筋吊杆和型钢吊杆应进行( )处理。A.防火 B.防腐
最新回复
(
0
)