首页
登录
职称英语
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
游客
2025-02-27
18
管理
问题
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/3974613.html
相关试题推荐
Acertainonlineformrequiresa2-digitcodeforthedayofthemonthtobeent
Onacertainnumberline,if8isdistanceof18fromn,and17ishedistanceo
Acertainmathematicaloperationmayberepresentedbythesymbol@.Forallnonz
Inacertainbox,thereare3timesasmanyredballsasblueballs.Whichofth
Thereare120employeesinacertaincompany.If36oftheemployeesareinthe
Homeostasis,ananimal’smaintenanceofcertaininternalvariableswithinan
Certainmessengermoleculesfightdamagetothelungsfromnoxiousairbytellin
Manystatelegislaturesareconsideringproposalstotheeffectthatcertainpol
55.Acertainspeciesofbirdhastwobasicvarieties,crestedandnoncrested.Th
AuthoritiesinCaliforniarequireddriverstousetheirheadlightsonacertain
随机试题
[img]2016m3x/ct_eyyjsbz2014j_eyyjsbreadc_0354_20163[/img]Guernicawasthel
ThefloodofwomenintothejobmarketboostedeconomicgrowthandchangedU
字母的基本字体不包括( )。A.正体 B.等线体 C.斜体 D.花体
骨髓为柔软而富有血液的组织,充填于长骨髓腔及骨松质腔隙内,分为红骨髓和:《人体解
十九大报告指出必须把维护中央对香港、澳门特别行政区()和保障特别行政区有
共用题干 2008年,借着中国举办奥运会的契机,很多对情侣选择在这一年走进婚姻
岗位评价是在( )基础上进行的。A.绩效考核B.薪酬等级C.薪酬标准D.岗位分
(2021年真题)通常适合进行集权管理的企业类型是()A.中型企业 B.小型
下列膨胀土路基的处理方法中,错误的是()。A、采用灰土桩对路基进行加固
主诉:男性,38岁,右髋外伤后疼痛、不能行走3h。 病史:患者于3h前乘公共汽
最新回复
(
0
)