首页
登录
职称英语
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
93
管理
问题
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.
转载请注明原文地址:https://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
随机试题
Arroganceandpridearesimilarinmeaning,butthereisa(n)______differencebe
Thediscussiontopicofthepreviousclassmeetingwas[br][originaltext]
IwasstudyingtheateratSouthernMethodistUniversityinDallasandfeelin
患儿,9个月。高热,烦躁不安,呕吐数次,大便稀一日2~3次。查体:嗜睡,前囟稍紧
归经是指A.药物具有寒热温凉四种性质 B.药物具有的辛、甘、酸、苦、咸五种滋味
某研究小组探究避光条件下生长素浓度对燕麦胚芽鞘生长的影响。胚芽鞘去顶静置一段时间
在现代伦理学概念体系中,道德是()。A.一种特殊的社会现象 B.以社会习
不符合功能制护理工作模式特点的是A.是以控制医疗成本,医疗团队合作为主的护理工作
尊重青少年主体地位,承认与接纳青少年的(),充分照顾青少年的特点和需要,开展有
既怕考试不及格又不想放弃玩耍时引起的是()冲突。 A.双趋 B.双避
最新回复
(
0
)