1085: A+B for Input-Output Practice (I) 摘要:```csharp #include using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月02日 0 点赞 0 评论 444 浏览 评分:9.9
题解 1085: A+B for Input-Output Practice (I) 摘要:`while(cin>>)`即可。 ````cpp #include using namespace std; int main(){ long long a,b; while(cin…… 题解列表 2024年02月25日 0 点赞 0 评论 238 浏览 评分:9.9
A+B for Input-Output Practice (I)(c++代码) 摘要:解题思路:换个英文版你就不会了???注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ while(…… 题解列表 2022年05月08日 0 点赞 0 评论 383 浏览 评分:9.9
A+B for Input-Output Practice (I) 摘要:解题思路:队列的思想注意事项:参考代码:#include<stdio.h> #include<stdlib.h> typedef struct ST { struct ST* next…… 题解列表 2022年01月21日 0 点赞 1 评论 777 浏览 评分:9.9
python的咋没题解,我来加一个 摘要:解题思路:使用了一个无限循环来读取输入,直到遇到 EOFError 异常或者文件结束符为止。在每次循环中,它使用 map() 函数将输入的一行拆分为两个整数 a 和 b,并计算它们的和,然后输出结果。…… 题解列表 2023年08月14日 0 点赞 0 评论 265 浏览 评分:9.9
1085: A+B for Input-Output Practice (I) 摘要:解题思路:这题其实谁都会做,主要是要看出题目里的要求:“with one line of output for each line in input”,也就是要用EOF来结束注意事项:输出时别忘记换行…… 题解列表 2022年01月27日 0 点赞 4 评论 1086 浏览 评分:9.9
C++简便易懂 摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>…… 题解列表 2023年01月14日 0 点赞 0 评论 189 浏览 评分:9.9
好写》好写 摘要:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) …… 题解列表 2024年01月02日 0 点赞 0 评论 135 浏览 评分:9.9
1085: A+B for Input-Output Practice (I) 摘要:解题思路:边输入边输出。参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>…… 题解列表 2022年05月21日 0 点赞 0 评论 496 浏览 评分:9.9
A+B for Input-Output Practice (I)-题解(Python代码)python开荒,关于无输入如何推出循环 摘要:```python x = input() # 先输入 while x: # 如果input无输入x值为"",循环退出 s = x.split(" ") print(int(s…… 题解列表 2020年03月15日 0 点赞 0 评论 932 浏览 评分:9.9