算法的基本结构:修订间差异

添加38字节 、​ 2021年6月29日 (星期二)
// Edit via InPageEdit
无编辑摘要
(// Edit via InPageEdit)
第13行:
我们就不分析算法了,看程序理解吧。
 
<yntaxhighlight lang="cpp" line>
<pre>
#include<bits/stdc++.h>
using namespace std;
第23行:
return 0;
}
</yntaxhighlight>
</pre>
 
暂时不去探究每行代码的具体含义,我们只需要知道这个代码首先读入了a和b,然后命名了一个变量c并将其赋值为a与b的和,然后输出c,就完成了这一任务。
2,007

个编辑