当前位置:网站首页>(C语言基础)原样输入输出
(C语言基础)原样输入输出
2022-07-31 08:23:00 【ceshyong】
前段时间当了三天鸽子,从今天起,继续恢复更新!涨粉1个,更新一篇!
题目描述
输入一个int变量,并将其原样输出。
输入
一个int变量。
输出
一个int变量。
样例组
样例1
输入 1001
输出 1001
样例2
输入 59
输出 59
题目思路
这道题目是一道很简单的题。用scanf输入变量(注意变量名前要加&),然后用printf输出即可。(注意输入输出int变量用%d)。
AC代码
AC代码如下:
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
printf("%d",a);
}
这道题目就这么多。
边栏推荐
- Golang-based swagger super intimate and super detailed usage guide [there are many pits]
- 深度学习随机数设置,保证实验的可重复性
- MySQL安装教程
- Vue项目通过node连接MySQL数据库并实现增删改查操作
- How to Install MySQL on Linux
- 科目三:前方路口直行
- SQL语句知识大全
- Install the deployment kubernetes KubeSphere management
- MySQL 排序
- Doraemon teach you forwarded and redirect page
猜你喜欢
How on one machine (Windows) to install two MYSQL database
【Unity】编辑器扩展-04-拓展Scene视图
《如何戒掉坏习惯》读书笔记
Regarding "computing power", this article is worth reading
[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Part 1)--Component UI
A, MySQL principle of master-slave replication
C语言三子棋(井字棋)小游戏
免安装版的Mysql安装与配置——详细教程
The first part of the R language
35-Jenkins-共享库应用
随机推荐
【云原生与5G】微服务加持5G核心网
MySQL 日期时间类型精确到毫秒
期刊会议排名、信息检索网站推荐以及IEEE Latex模板下载
skynet中一条消息从取出到处理完整流程(源码刨析)
一、MySQL主从复制原理
google搜索技巧——程序员推荐
【小程序项目开发-- 京东商城】uni-app之商品列表页面 (上)
Practical Bioinformatics 2: Multi-omics data integration and mining
刷题《剑指Offer》day06
MUI获取相机权限
[MySQL exercises] Chapter 3 Common data types in MySQL
Hematemesis summarizes thirteen experiences to help you create more suitable MySQL indexes
[Cloud native and 5G] Microservices support 5G core network
MySQL 操作语句大全(详细)
Which strings will be parsed as null by FastJson?
【黄啊码】MySQL入门—3、我用select ,老板直接赶我坐火车回家去,买的还是站票
mysql安装教程【安装版】
如何使用mysql binlog 恢复数据
Modular specifications
2022杭电杯超级联赛3