首页
登录
职称英语
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
28
管理
问题
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/3974613.html
相关试题推荐
Acertainonlineformrequiresa2-digitcodeforthedayofthemonthtobeent
Onacertainnumberline,if8isdistanceof18fromn,and17ishedistanceo
Acertainmathematicaloperationmayberepresentedbythesymbol@.Forallnonz
Inacertainbox,thereare3timesasmanyredballsasblueballs.Whichofth
Thereare120employeesinacertaincompany.If36oftheemployeesareinthe
Homeostasis,ananimal’smaintenanceofcertaininternalvariableswithinan
Certainmessengermoleculesfightdamagetothelungsfromnoxiousairbytellin
Manystatelegislaturesareconsideringproposalstotheeffectthatcertainpol
55.Acertainspeciesofbirdhastwobasicvarieties,crestedandnoncrested.Th
AuthoritiesinCaliforniarequireddriverstousetheirheadlightsonacertain
随机试题
CompareQuantityAandQuantityB,usingadditionalinformationcenteredabovet
[audioFiles]audio_ezfm_0080(20105)[/audioFiles]Initsmostextremeform,p
Doctorswon’toperateonthepatient______absolutelynecessary.A、whenB、ifC、un
PASSAGEONEWhydidthegirlplaybasketballoverandoveragain?Boththeparent
thecouplefounditimpossibletomakeendsmeet。此题考查形式宾语it的用法及短语makeendsmeet“
Wecommonlythinkofsportsmanshipinconnectionwithathleticcontests,but
极限编程(XP)由价值观、原则、实践和行为四个部分组成,其中价值观包括沟通、简单
患者喧扰不宁,躁妄打骂,动而多怒。其诊断是A.癫证 B.狂证 C.痛证
O/W型乳化剂的HLB值一般为A.1~3 B.3~8 C.9~12 D.8
妊娠期糖尿病的产妇,孕期使用胰岛素者,分娩后如需继续使用,应减少胰岛素的用量到原
最新回复
(
0
)