Hello world

摘要: 分别用串行和并行实现了一个NUM次加法的程序,代码如下:package mainimport ( "fmt" //"runtime" //执行并行段时需要引入该包 "time")const ( NUM = 50//+运算次数)type vint struct { n []int}func (v vi... 阅读全文
posted @ 2015-10-31 10:07 hershell 阅读(837) 评论(0) 推荐(0) 编辑