首页
登录
职称英语
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
79
管理
问题
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
随机试题
[originaltext]W:We’veallheardthesaying"Laughteristhebestmedicine."Ho
某公司在去年上半年以每千克0.9元的价格收购大蒜,存入冷库采取保鲜技术处理,于下
绘制、看懂机械图是机械员的基本常识。请回答以下相关问题: 关于剖视图的正确说法
下列关于患病率用途的叙述,不正确的是( )。A.能为一些慢性病的流行状况提供有
左上2122右上1112缺失,缺隙一侧的余留牙基本无可利用倒凹,设计就位
儿科常见病中发病率最高的是A、消化系统疾病 B、循环系统疾病 C、呼吸系统疾
我国房地产估价现行国家标准的名称是()。A.房地产评估准则 B.房
公共建筑空间以不同的方式组合就能形成不同的设计方案,下列不属于公共建筑空间组成部
人在每一瞬间,将心理活动选择了某些对象而忽略了另一些对象。这一特点指的是注意的(
根据《建设工程质量管理条例》的规定,建设单位应当自建设工程竣工验收之日起15日内
最新回复
(
0
)