- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 Python实现IOC控制反转
思路:用一个字典存储beanName和资源 初始化时先将beanName和资源注册到字典中 然后用一个Dscriptor类根据beanName动态请求资源,从而实现控制反转# -*- coding:utf-8 -*-import osclass BeanFactory: """ Python版控制反转 context: 存储bean的名字和对应的类或者值的字典
2017-12-21 17:14:51 3039
原创 Wannafly挑战赛5 A珂朵莉与宇宙 前缀和+枚举平方数
Wannafly挑战赛5 A珂朵莉与宇宙 前缀和+枚举平方数题目描述给你一个长为n的序列a,有n*(n+1)/2个子区间,问这些子区间里面和为完全平方数的子区间个数输入描述:第一行一个数n 第二行n个数表示序列a输出描述:输出一个数表示答案示例1输入 6 0 1 0 9 1 0 输出 11备注:1 <= n <= 100000 0 <= ai <= 10思路用前缀和来求任意字段的和 长
2017-12-08 23:59:38 362
原创 Yandex Big Data Essentials Week1 Scaling Distributed File System
GFS Key Componentscomponents failures are a normeven space utilisationwrite-once-read-manyGFS and Hadoop Distributed File System GFS主要分为:Application 、Master、ChannelServer hdfs主要分为:Appllcation 、
2017-12-01 22:11:54 336
原创 Yandex Big Data Essentials Week1 Unix Command Line Interface Processes managing
freedisplays the total amount of free and used memory free [options]topprovides a dynamic real-time view of a running system top [options] psprovides snapshot of the status of currently running proce
2017-12-01 15:59:05 331
原创 Yandex Big Data Essentials Week1 Unix Command Line Interface File Content exploration
catdisplays the contents of a file at the command line copies or apppend text file into a document cat [OPTIONS] .. [FILE]headprints the first part of the files head [ OPTION] … [FILE]tailprin
2017-12-01 15:26:14 263
原创 Yandex Big Data Essentials Week1 Unix Command Line Interface File System exploration
File System FunctionIn computing, a file system or filesystem is used to control how data is stored and retrieved. Without a file system, information placed in a storage medium would be one large body
2017-12-01 11:53:21 325
信息检索导论英文版
2018-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人