摘要: 爬取中国大学最好大学排名前二十代码:#CrawUnivRankingA.pyimport requestsfrom bs4 import BeautifulSoupimport bs4def getHTMLText(url): try: r=req... 阅读全文
posted @ 2018-12-04 23:45 black_hole6 阅读(160) 评论(0) 推荐(0)
摘要: A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supp... 阅读全文
posted @ 2018-12-04 22:27 black_hole6 阅读(165) 评论(0) 推荐(0)
摘要: ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course d... 阅读全文
posted @ 2018-12-04 19:51 black_hole6 阅读(298) 评论(0) 推荐(0)
摘要: Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operatio... 阅读全文
posted @ 2018-12-04 17:19 black_hole6 阅读(130) 评论(0) 推荐(0)
摘要: 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小)题目描述If you are a fan of Harry Potter, you would know the world of magic ... 阅读全文
posted @ 2018-12-04 11:23 black_hole6 阅读(150) 评论(0) 推荐(0)
摘要: 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小)题目描述计算机中采用浮点数表示所有实数,但这意味着精度丢失。例如无法精确表示“1/3”。NowCoder最近要处理很多金融问题,这些账目不允许出... 阅读全文
posted @ 2018-12-04 10:46 black_hole6 阅读(588) 评论(0) 推荐(0)
摘要: 题目背景uim神犇拿到了uoi的ra(镭牌)后,立刻拉着基友小A到了一家……餐馆,很低端的那种。uim指着墙上的价目表(太低级了没有菜单),说:“随便点”。题目描述不过uim由于买了一些辅(e)辅(ro)书,口袋里只剩MM元(M \le 10000)(M≤10000)... 阅读全文
posted @ 2018-12-04 10:07 black_hole6 阅读(316) 评论(0) 推荐(0)
摘要: 73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest s... 阅读全文
posted @ 2018-12-04 09:07 black_hole6 阅读(243) 评论(0) 推荐(0)