用数字0、1、2 (既可全用也可不全用)组成的非零自然数,从小到大排列,问“1010”排在第几个?( )A. 30 B. 31 C. 32 D. 33

作者: tihaiku 人气: - 评论: 0
问题 用数字0、1、2 (既可全用也可不全用)组成的非零自然数,从小到大排列,问“1010”排在第几个?( )
选项 A. 30 B. 31 C. 32 D. 33
答案 A
解析 用这3个数字组成的小于1000的非零自然数有3X3X3 -1 = 26(个),再加上1000, 1001,1002,总计29个,所以1010排在第30个。故选A项。

猜你喜欢

更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>