首页
登录
职称英语
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
25
管理
问题
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
随机试题
IfyouaretoldthatGodusedtobeawoman,youmayfinditpreposterous,ri
不动产权籍调查成果主要为()。A.文字成果 B.表格成果 C.图件成果
关于地震级和烈度的说法,正确的是()。A:建筑抗震设计的依据是国际通用震级划分
如果永久持有股票,则投资于股票所得到的未来现金流量是()。A.股利和本金之和
A.呼出气有蒜味 B.呼出气有苦杏仁味 C.呼出气有氨味 D.呼吸抑制
下列不属于非极性溶剂的是A.脂肪油B.液体石蜡C.乙酸乙酯D.氯仿E.甘油
甲公司与齐某订立劳动合同,将齐某派遣至乙公司任停车场管理员,齐某工作时,挪石凳不
下列各指标中,( )是客户税前净利润与资产平均总额的比率。A.资产收益率 B
报关员代表所属企业向海关办理报关业务时,应履行哪些义务()A、熟悉所申报货物的基
下列严禁作为填料的材料是()。A.粉质土 B.腐殖质的土 C.细粒土
最新回复
(
0
)