单一职责原则(Single Responsibility Principle SRP) There should never be more than one reason for a class to change. 什么意思呢? 所谓单一职责原则就是一个类只负责一个职责,只有一个引起变化的原因。 ...
分类:
其他好文 时间:
2017-07-10 23:44:12
阅读次数:
208
We can see that when we want to use the Dom4j to parse XML , we should import org.dom4j.* At the same time ,that to parse XML by DOM ,we should import ...
分类:
其他好文 时间:
2017-07-10 22:27:04
阅读次数:
235
在uboot下,常常会出现一些很让人揪心的问题。解决这些问题的关键就是方法与方向。把握好这两点,一切问题都能够迎刃而解。同一时候也要自信。例如以下: 有时我们会遇到例如以下的出错信息,这时CPU会reboot。 data abort MAYBE you should read doc/README. ...
分类:
其他好文 时间:
2017-07-10 20:20:34
阅读次数:
225
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex ...
分类:
其他好文 时间:
2017-07-10 18:02:09
阅读次数:
164
lab 1 考点: substring/concat/equals/equalsIgnoreCase/indexOf all index from 0 not 1. homework 1 考点: opencommerical是老师上课讲过的例子,现学现卖/怎样读取网页检查元素/readline()会 ...
分类:
其他好文 时间:
2017-07-10 14:32:33
阅读次数:
880
preview: '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not p... ...
分类:
其他好文 时间:
2017-07-10 10:37:37
阅读次数:
179
Given n processes, each process has a unique PID (process id) and its PPID (parent process id). Each process only has one parent process, but may have ...
分类:
系统相关 时间:
2017-07-10 10:14:01
阅读次数:
220
However,we should all study hard.No one will go with you forever.Believe yourself. 一起努力吧 四中? 英才? 华侨? 中专? 哦不不不 我想去肇中 我有这个勇气 没这个能力 我想努力下 稳进英才罢了 但是很难 沉舟侧 ...
分类:
其他好文 时间:
2017-07-09 12:21:57
阅读次数:
327
知识补充: 1.falsk模块中一些方法总结 import flask from flask import request,jsonify server = flask.Flask(__name__) #把当前文件当作一个服务 server.config['JSON_AS_ASCII'] = Fal ...
分类:
编程语言 时间:
2017-07-08 16:15:52
阅读次数:
247
A. Who is the winner? time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output A. Who is the winner ...