首页
登录
职称英语
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
32
管理
问题
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://www.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
随机试题
Inthepast,manyyoungpeople______.[br]TheauthorthinksthatTVadvertisem
我们的身体夜晚需要休息,白天需要清醒。大多数人每晚需要8到8.5个小时的睡眠才能正常运转。找到更多的时间、更好的睡眠方法可能是个挑战。科学家已经确认了8
关于金融债券的登记、托管与兑付,下列说法正确的有()。 ①中央国债登记结算有
A.上皮基底细胞极性消失 B.固有层或黏膜下层有淋巴滤泡形成 C.上皮内发生
《变电验收管理规定第1分册油浸式变压器(电抗器)验收细则》:有载开关油枕油位正常
下面的()不是我国证券账户的种类。A:人民币普通股票账户B:人民币特种股票账户
贫血最常见的临床表现是A.窦性心动过速 B.心脏杂音 C.皮肤和黏膜苍白
前牙拥挤患者,清洁牙齿邻面最好采用A.牙签 B.牙线 C.牙刷
短期借款是企业向金融机构借入的期限在()的借款。A.3个月内 B.6个月内
男,45岁。5日前耕地时右下肢被拖拉机压伤,已消创缝合,先突然出现伤肢胀裂样剧痛
最新回复
(
0
)