上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 38 下一页
摘要: 折半查找仅适用于排序数组的情况 #include usingnamespace std; intBinarySearch(int* a,const int x,const int n); intmain(){ intx[]={1,2,3,4,5,6,7,8,9,10}; intre... 阅读全文
posted @ 2016-04-14 16:38 硫酸亚铜 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 原视频下载地址:https://yunpan.cn/cqUj6H9un37F2 访问密码 91af 阅读全文
posted @ 2016-04-13 22:36 硫酸亚铜 阅读(241) 评论(4) 推荐(0) 编辑
摘要: 原视频下载地址:https://yunpan.cn/cqUfdgMPzyr5y 访问密码bb4f 阅读全文
posted @ 2016-04-13 22:36 硫酸亚铜 阅读(228) 评论(0) 推荐(0) 编辑
摘要: ​原视频下载地址:https://yunpan.cn/cLHD9ewat8v9a 访问密码 0f0f 阅读全文
posted @ 2016-04-13 22:35 硫酸亚铜 阅读(766) 评论(0) 推荐(0) 编辑
摘要: 在c++编写正弦曲线点的代码,源代码如下: //想要使用内置的π,此句必不可少! #define_USE_MATH_DEFINES #include#include#include usingnamespace std; intmain(){ ofstreamout("1.txt"... 阅读全文
posted @ 2016-04-12 20:50 硫酸亚铜 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Proc 过程名 参数列表 过程体 示例代码(斐波那契数列): proc fib{num} { if{$num<=2} {return 1} return[expr [fib [expr $num-1]] + [fib [expr $num-2]]]}for {set i 1}{$... 阅读全文
posted @ 2016-04-11 12:39 硫酸亚铜 阅读(185) 评论(0) 推荐(0) 编辑
摘要: for 开始 判断语句 变量自增(自检) 循环体示例代码:for {set i0} {$i<10} {incr i} { puts"I is: $i "}运行结果 While 判断语句 循环体示例代码:set x0while{$x<5} { setx [expr $x+$x+1] ... 阅读全文
posted @ 2016-04-11 12:15 硫酸亚铜 阅读(1298) 评论(0) 推荐(0) 编辑
摘要: 原视频下载地址:https://yunpan.cn/cqvgLe39ZU4Ke 访问密码 c1c9 阅读全文
posted @ 2016-04-08 09:54 硫酸亚铜 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 原视频下载地址:https://yunpan.cn/cqRiHaQiLi8I7 访问密码b5c6 阅读全文
posted @ 2016-04-07 21:57 硫酸亚铜 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 原视频下载地址:https://yunpan.cn/cqMnfpqQQdZZI 访问密码 802b 阅读全文
posted @ 2016-04-07 20:43 硫酸亚铜 阅读(731) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 38 下一页