首页
登录
职称英语
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
15
管理
问题
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
随机试题
Thispairofshoesisn’tgood,butthatpairis______better.A、ratherB、overC、ha
Anunidentifiedwitoncesaid,"Laugh,andtheworldlaughswithyou.Snore,
钢筋与钢板进行搭接焊时应采用双面焊接,搭接长度应大于钢筋直径的()倍(HPB2
下列隧道协议中工作在网络层的是( )。A.SSL B.L2TP C.IPS
某混凝土试块强度值不满足规范要求,但经法定检测单位对混凝土实体强度经过法定检测后
元认知知识包括()。 A.关于个体内差异的认识 B.对任务的认识 C.对有
基础心理学是研究()。 (A)正常成人心理现象的心理学基础学科 (B
最常用的信度测试方式包括()。A.重测信度 B.复本信度 C.内
桥墩流水施工的桥墩数量太多时,将多个桥墩的相同工序合并为一个工序,简化为相同桥墩
矿业工程合同文件包括有( )等。A.合同协议书 B.中标通知书 C
最新回复
(
0
)