从2010到4219的整数中,十位数字与个位数字相同的数有多少个?( )A. 219 B. 220 C. 221 D. 222

作者: tihaiku 人气: - 评论: 0
问题 从2010到4219的整数中,十位数字与个位数字相同的数有多少个?( )
选项 A. 219 B. 220 C. 221 D. 222
答案 C
解析 把所给的数的范围分成千位是2,3,4三类分别考虑。千位是2的:首先看百位是0的有2011,2022,2033,…,2099共9个;百位是1的则有10个,由此可知,千位是2的这样的数共有99 个;千位是3的有100个;千位是4的共有(2X10 + 2)=22(个)。所以十位数字与个位数字相同的数共有99 + 100 + 22 = 221(个)。故本题选C。

相关内容:整数,数字,个位

猜你喜欢

更多 网友评论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.'; ?>