首页
登录
职称英语
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
21
管理
问题
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
随机试题
SevereandincreasingnumerouscriticsarepointingtodeficienciesintheBriti
[audioFiles]2021m5x/audio_ve01005j_ezflisteningxa_0080_202105[/audioFiles]
当代马克思主义新闻观的核心是()A.坚持党性原则 B.坚持正确舆论导向 C.
对室性心动过速描述错误的是A.QRS波增宽 B.可出现融合波 C.左后分支室
作为教师道德主体一分子的教师个人,他的主体地位和主体性并不是由教师个人来确定的,
血栓闭塞性脉管炎营养障碍期最主要的临床表现是A.肢端发黑、干性坏疽 B.间歇性
天柱穴所属的经脉是( )。A.足少阳胆经 B.手少阳三焦经 C.手太阳小肠
一住店客人未付房钱即想离开旅馆去车站。旅馆服务员揪住他不让走,并打报警电话。客人
下列有关注册会计师在对进一步审计程序设计时采取的总体审计方案的说法中,正确的是(
诊断甲亢的首选实验室检查( )。A.FT3?、FT4 B.TT3?、TT4
最新回复
(
0
)