首页
登录
职称英语
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
74
管理
问题
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
随机试题
Thepatternsofspokenlanguageare_____fromthoseofwriting.A、distinctB、dis
如图所示土围堰的防渗形式属于( )。 A.斜墙式 B.斜墙带水平铺盖式 C
音量是音的重要属性,音量的大小是由音的()决定的。A.频率 B.振幅 C.
(2020年真题)企业(公司)直接融资活动主要有( )方式 Ⅰ股票融资 Ⅱ
正确论述混悬型药剂的是()。A.混悬型液体药剂是指大小在1~1000nm范围
变压器室、保护室、配电室、电容器室、蓄电池室、电缆夹层的门应采用防火材质,门应(
(2020年真题)下列关于消费税的说法,正确的是()。A.自产自用的应税消费品
2020年5月6日,甲公司为满足采购原材料需要,委派财务人员杨某到P
燃气、热力管道法兰与管道组装时,通常用()检查法兰的垂直度。A.铅锤 B
患者,女性,38岁,反复间歇性水肿5年伴恶心、呕吐1周。血压155/110?mm
最新回复
(
0
)