12 2017 档案
摘要:思路: 用一个字典存储beanName和资源 初始化时先将beanName和资源注册到字典中 然后用一个Dscriptor类根据beanName动态请求资源,从而实现控制反转 # -*- coding:utf-8 -*- import os class BeanFactory: """ Python
阅读全文
摘要:Wannafly挑战赛5 A珂朵莉与宇宙 前缀和+枚举平方数 题目描述 给你一个长为n的序列a,有n*(n+1)/2个子区间,问这些子区间里面和为完全平方数的子区间个数 输入描述: 第一行一个数n 第二行n个数表示序列a 输出描述: 输出一个数表示答案 示例1 输入 6 0 1 0 9 1 0 输出
阅读全文
摘要:GFS Key Components components failures are a norm even space utilisation write-once-read-many GFS and Hadoop Distributed File System GFS主要分为:Applicati
阅读全文
摘要:free displays the total amount of free and used memory free [options] top provides a dynamic real-time view of a running system top [options] ps provi
阅读全文
摘要:cat displays the contents of a file at the command line copies or apppend text file into a document cat [OPTIONS] .. [FILE] head prints the first part
阅读全文
摘要:File System Function In computing, a file system or filesystem is used to control how data is stored and retrieved. Without a file system, information
阅读全文