题解 1000: [竞赛入门]简单的a+b
摘要:###思路
`while(cin>>)`即可
###代码
```cpp
#include
using namespace std;
int main()
{
int a,b;……
简单的a+b C语言题解
摘要:解题思路:因为本题要求多组测试数据,所以我们要用while循环来写a+b,输入写在循环的条件里,然后在输出里写入公式就可以直接输出答案了。注意事项:1.注意,本题中在输入前必须写入~(取反),不然会输……
编写题解 1000: [竞赛入门]简单的a+b
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) ……
1000: [竞赛入门]简单的a+b题解
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) ……
编写题解 1000: [竞赛入门]简单的a+b
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a, b; // 使用循环来处理多组测试数据 while (scanf("%d %……