当前位置:网站首页>Meaning of while (~scanf ("%d%d", & A, & B))
Meaning of while (~scanf ("%d%d", & A, & B))
2022-06-30 14:06:00 【Fat Xiao Deng】
Have you ever encountered this sentence while(~scanf("%d%d", &a, &b))
So what does it mean ?
Example :
#include<stdio.h>
int main()
{
int a,b;
while(~scanf("%d%d", &a, &b))printf("%d\n",a+b);
return 0;
}
I recommend you look here https://blog.csdn.net/m0_38006130/article/details/75944578
边栏推荐
- Knowledge dissemination cannot replace professional learning!
- 想请教一下,我在佛山,到哪里开户比较好?手机开户是安全么?
- 科普达人丨漫画图解什么是eRDMA?
- Lucky hash quiz system development (source code deployment) fun investment hash game play development (case requirements)
- Apache Doris Compaction優化百科全書
- 深入理解.Net中的线程同步之构造模式(二)内核模式2.内核模式构造物Semaphone
- DeFi“钱从哪来”?一个大多数人都没搞清楚的问题
- numpy 创建空数组 data = np.empty(shape=[1, 64,64,3])
- 【科学文献计量】外文文献及中文文献关键词的挖掘与可视化
- Simple understanding of the difference between get request and post submission
猜你喜欢

Google Earth Engine(GEE)——将字符串的转化为数字并且应用于时间搜索( ee.Date.fromYMD)

【 scientific literature measurement 】 mining and visualization of keywords in foreign and Chinese Literature

一条查询SQL是如何执行的

This editor will open source soon!

Jetpack Compose 实现完美屏幕适配

半导体动态杂谈

Waving flags and shouting for basic language

Google Earth engine (GEE) -- converts string to number and applies it to time search (ee.date.fromymd)

【刷题篇】避免洪水泛滥

损失函数:DIOU loss手写实现
随机推荐
Basic syntax of unity script (4) - access to other game objects
A keepalived high availability accident made me learn it again!
[kali] Kali system, software update (with image source)
Exlipse operates on multiple rows at the same time. For example, input the same text in multiple lines and columns at the same time
随着产业互联网的发展,有关互联网的落地和应用也就变得宽阔了起来
编程实战赛来啦!B站周边、高级会员等好礼送你啦!
[scientific research data processing] [practice] frequency analysis chart of category variables, distribution chart of numerical variables and normality test (including lognormal)
mysql拒绝访问、管理员身份打开的
Google Earth engine (GEE) - ghsl: global human settlements layer, built grid 1975-1990-2000-2015 (p2016) data set
我想问一下招商证券怎么开户?通过链接办理股票开户安全吗
[the path of system analyst] Chapter 5 Software Engineering (Agile Development)
Basic syntax of unity script (5) - vector
What network security problems are exposed when a large-scale QQ number theft event occurs?
这个编辑器即将开源!
Lucky hash quiz system development (source code deployment) fun investment hash game play development (case requirements)
【科研数据处理】[基础]类别变量频数分析图表、数值变量分布图表与正态性检验(包含对数正态)
Rpm2rpm packaging steps
深入理解.Net中的线程同步之构造模式(二)内核模式2.内核模式构造物Semaphone
Write, append, read, and copy of golang files: examples of using bufio packages
exlipse同时操作多行。比如同时在多行同列输入相同的文字