1 . 给出下面的算法:
第一步,比较
与
的大小,若
,则交换
,
的值.
第二步,比较
与
的大小,若
,则交换
,
的值.
第三步,比较
与
的大小,若
,则交换
,
的值.
第四步,输出
,
,
.
该算法要解决的问题是( )
第一步,比较
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/0a6936d370d6a238a608ca56f87198de.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/2c94bb12cee76221e13f9ef955b0aab1.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/c6a46e678bf9d2df5ad4c782b3dc22f5.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/0a6936d370d6a238a608ca56f87198de.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/2c94bb12cee76221e13f9ef955b0aab1.png)
第二步,比较
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/0a6936d370d6a238a608ca56f87198de.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/071a7e733d466949ac935b4b8ee8d183.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/fc8e2b380189700530b3352b501c532d.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/0a6936d370d6a238a608ca56f87198de.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/071a7e733d466949ac935b4b8ee8d183.png)
第三步,比较
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/2c94bb12cee76221e13f9ef955b0aab1.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/071a7e733d466949ac935b4b8ee8d183.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/20d70009d48ea5ed5e20cc5eff3d557e.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/2c94bb12cee76221e13f9ef955b0aab1.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/071a7e733d466949ac935b4b8ee8d183.png)
第四步,输出
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/0a6936d370d6a238a608ca56f87198de.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/2c94bb12cee76221e13f9ef955b0aab1.png)
![](https://staticzujuan.xkw.com/quesimg/Upload/formula/071a7e733d466949ac935b4b8ee8d183.png)
该算法要解决的问题是( )
A.输入![]() ![]() ![]() ![]() ![]() ![]() |
B.输入![]() ![]() ![]() ![]() ![]() ![]() |
C.输入![]() ![]() ![]() |
D.输入![]() ![]() ![]() ![]() ![]() ![]() |
您最近一年使用:0次