上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 结果:104743 阅读全文
posted @ 2018-12-09 20:24 喜欢沧月的二福君 阅读(151) 评论(0) 推荐(0) 编辑
摘要: package main import "fmt" func main() { sum := 0 sum2 := 0 for i := 1; i <= 100; i++ { sum += i sum2 += i * i } fmt.Println(sum*sum - sum2) } 结果:25164 阅读全文
posted @ 2018-12-09 20:22 喜欢沧月的二福君 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 结果:232792560 阅读全文
posted @ 2018-12-09 20:15 喜欢沧月的二福君 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 结果:76576500 阅读全文
posted @ 2018-12-09 20:10 喜欢沧月的二福君 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Problem 1 Problem 1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. 阅读全文
posted @ 2018-12-07 20:59 喜欢沧月的二福君 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1. 设计编写一个控制台应用程序,练习类的继承。 (1) 编写一个抽象类 People,具有”姓名”,”年龄”字段,”姓名”属性,Work 方法。 (2) 由抽象类 People 派生出学生类 Student 和职工类 Employer,继承 People 类,并覆盖Work 方法。 (3) 派生类 阅读全文
posted @ 2018-12-05 19:33 喜欢沧月的二福君 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 1. 编写一个控制台应用程序,输入三角形或者长方形边长,计算其周长和面积并输出。 2. 编写一个控制台应用程序,可根据输入的月份判断所在季节。 using System; using System.Collections.Generic; using System.Linq; using Syste 阅读全文
posted @ 2018-12-05 19:01 喜欢沧月的二福君 阅读(986) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "io" "net/http" "os" "regexp" "strconv" ) func main() { var start, end int fmt.Println("请输入要爬取的开始页面:") fmt.Scan(&start) fmt.Print... 阅读全文
posted @ 2018-12-05 15:41 喜欢沧月的二福君 阅读(221) 评论(0) 推荐(0) 编辑
摘要: package main import ( "bufio" "fmt" "io" "os" "regexp" "strings" ) func main() { fileName := "log.log" file, err := os.OpenFile(fileName, os.O_RDWR, 0666) if err... 阅读全文
posted @ 2018-12-04 21:13 喜欢沧月的二福君 阅读(802) 评论(0) 推荐(0) 编辑
摘要: 由于使用echats的图表,而直接把官方实例c过来的时候,图表加载不出来。 浏览器按f12显示这样的错 发生错误的位置: 根据提示,是这的错误,需要自己加载option 所以加上一句话,也就是这样:解决办法 阅读全文
posted @ 2018-12-01 17:07 喜欢沧月的二福君 阅读(3362) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页

联系博主qq2456891380