首页
登录
职称英语
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
游客
2024-01-13
92
管理
问题
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/3360051.html
相关试题推荐
Inasecondhandbookshop,Billycameacrossabookwhichhethoughtwascertain
Nomatterwhoyouareorwhereyoucomefrom,onethingiscertain:youarea
Nomatterwhoyouareorwhereyoucomefrom,onethingiscertain:youarea
Customer:______Receptionist:Certainly,doyouhaveareservation?Customer:
Understandingthistransitionrequiresalookatthetwo-sidedconnectionbe
Infact,manystudiesindicatethatafteracertainpoint,anyone’sproductivity
Canonlineeducationeverbeeducationoftheverybestsort?NotlongagoI
Ourpreferencesforcertaincolorsare______accordingtothepassage.[br]Whi
Ourpreferencesforcertaincolorsare______accordingtothepassage.[br]If
Thedegree______youmaintainyourmentalhealthmaydependoncertainsimpleenv
随机试题
Wherearethepassengers?[br][originaltext]Goodafternoon.Thisisyourca
[originaltext]Whatisthebestwaytocatchsomeonewhoistellingalie?Fo
[originaltext]Therearetwofactorswhichdetermineanindividual’sintellig
多层螺旋CT对X线球管的要求最关键的是A.旋转速度 B.外形尺寸 C.焦点大
对高速公路沥青混凝土面层进行抗滑性能检测,采用摆式仪法,检测时的路面温度为30℃
基金公司在交易执行环节可能存在的风险包括()。 Ⅰ.未践行最佳执行原则,交易
大便时干时稀的临床意义是A:脾阳虚B:脾气虚C:脾肾阳虚D:肝郁脾虚E:
数学老师在教授“直角三角形”的概念时,画出了形态各异的直角三角形,这位教师在教学
A.铂类 B.异烟肼 C.非格司亭 D.替尼泊苷 E.硝苯地平与长春新碱
A注册会计师负责审计甲公司2021年财务报表。2022年1月5日对甲公司全部库存
最新回复
(
0
)