题解 1085: A+B for Input-Output Practice (I)

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

A+B for Input-Output Practice (I)

摘要:解题思路:队列的思想注意事项:参考代码:#include<stdio.h> #include<stdlib.h> typedef struct ST {     struct ST* next……

python的咋没题解,我来加一个

摘要:解题思路:使用了一个无限循环来读取输入,直到遇到 EOFError 异常或者文件结束符为止。在每次循环中,它使用 map() 函数将输入的一行拆分为两个整数 a 和 b,并计算它们的和,然后输出结果。……

1085: A+B for Input-Output Practice (I)

摘要:解题思路:这题其实谁都会做,主要是要看出题目里的要求:“with one line of output for each line in input”,也就是要用EOF来结束注意事项:输出时别忘记换行……

C++简便易懂

摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {     int a,b;     while(cin>>a>>b)   ……