当前位置:网站首页>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
边栏推荐
- Introduction to two types of rxjs observable operators
- SQL考勤统计月报表
- Prometheus 2.29.0 新特性
- 用Unity实现Flat Shading
- When SQL queries are performed in table storage, an error is reported when the primary key is added to the query result, and the query result exceeds 10W rows. Do you want to add multiple indexes to t
- 第四批入围企业公示——年度TOP100智能网联供应商评选
- I'd like to ask you, where can I open an account in Foshan? Is it safe to open a mobile account?
- exlipse同时操作多行。比如同时在多行同列输入相同的文字
- PG Basics - logical structure management (table inheritance, partition table)
- I want to ask how to open an account at China Merchants Securities? Is it safe to open a stock account through the link
猜你喜欢

一条查询SQL是如何执行的

Flat shading with unity

"Persistent diseases" that cannot be solved in IM application development

深入理解.Net中的线程同步之构造模式(二)内核模式4.内核模式构造物的总结

Defi "where does the money come from"? A problem that most people don't understand

SQL programming problem, test case failed

Intelligent operation and maintenance: visual management system based on BIM Technology

IM即时通讯应用开发中无法解决的“顽疾”

智慧运维:基于 BIM 技术的可视化管理系统

Basic syntax of unity script (1) - common operations of game objects
随机推荐
A keepalived high availability accident made me learn it again!
点击table的td单元格出现dialog弹窗,获取值后将值放回td单元格
一篇文章读懂关于企业IM的所有知识点
科普达人丨漫画图解什么是eRDMA?
半导体动态杂谈
[kubernetes series] k8s set mysql8 case insensitive
Intelligent operation and maintenance: visual management system based on BIM Technology
Publicity of the fourth batch of shortlisted Enterprises - annual Top100 smart Internet supplier selection
表格储存中sql查询的时候,查询结果增加主键报错,查询结果超过10w行。需要对主键增加上多元索引吗?
Service online governance
一文讲清楚什么是类型化数组、ArrayBuffer、TypedArray、DataView等概念
目录相关命令
一条查询SQL是如何执行的
How can I protect my private key?
Basic syntax of unity script (1) - common operations of game objects
IM即时通讯应用开发中无法解决的“顽疾”
香港回归20余年,图扑数字孪生港珠澳大桥,超震撼
Google Earth Engine(GEE)——GHSL:全球人类住区层,建成网格 1975-1990-2000-2015 (P2016) 数据集
嵌入式开发:5个可能不再被禁止的C特征
Today's sleep quality record 80 points