当前位置:网站首页>蓝桥历届真题-门牌制作
蓝桥历届真题-门牌制作
2022-08-09 13:04:00 【CoolTiger_程序员】

答案:624
代码如下:
#include<stdio.h>
int main() {
int i,count=0;
for(i=1;i<=2020;i++){
int j=i;
while(j){
if(j%10==2){
count++;
}
j/=10;
}
}
printf("%d\n",count);
return 0;
}
边栏推荐
- Professor Chen Qiang's "Machine Learning and R Application" course Chapter 16 Assignment
- 5G China unicom 直放站 网管协议 实时性要求
- Professor Chen Qiang "application in machine learning and R" course chapter 17
- R 语言 2010.1至2021.12艾滋病每月发病人数 时间序列分析
- 陈强教授《机器学习及R应用》课程 第十五章作业
- 面试攻略系列(三)-- 高级开发工程师面试问些啥?
- npm install失败
- The FPGA - work summary recently
- Process/Thread Related in Sandbox - 2
- GIN中GET POST PUT DELETE请求
猜你喜欢

Periodic sharing of Alibaba Da Tao system model governance

基于 R 语言的判别分析介绍与实践 LDA和QDA

技嘉显卡 RGBFusion 不能调光解决方法

error Trailing spaces not allowed no-trailing-spaces 9:14 error Unexpected trailing comma

GIN file upload and return

Jenkins API groovy calling practice: Jenkins Core Api & Job DSL to create a project

5G China unicom general exception handling

Q_04_05 使用Qubits

The sword refers to the offer, cuts the rope 2

搭建大型分布式服务(四)Docker搭建开发环境安装Mysql
随机推荐
微服务+微信小程序实现社区服务
GIN Bind mode to get parameters and form validation
2.微服务'黑话'集锦及Eureka注册中心相关概念
缓存和数据库一致性问题
面试攻略系列(二)-- 秒杀系统
glibc 内存管理模型 释放 C库内存缓存
正则表达式-re模块
乐东消防救援大队应邀为干部开展消防安全培训
FFmpeg multimedia file processing (FFMPEG logging system)
R语言kaggle 游戏数据探索与可视化
Standing wave ratio calculation method
绘制混合密度函数图以及添加分位数线
CPU-MIPS32 instruction architecture (unlocked pipeline microprocessor)
render解析
搭建大型分布式服务(四)Docker搭建开发环境安装Mysql
Q_08 更多信息
FPGA - Summary of bugs in ISE (in update)
【FPGA教程案例48】图像案例8——基于FPGA的RGB图像转化为HSV图像的实现,通过MATLAB进行辅助验证
NC40 链表相加(二)
ARM板卡增加路由功能