from math import *N=int(input())for i in range (2,N+1): a=i for i in range (2,N+1): b=i for i in range (b,N+1): c=i for i in range (c,N+1): d=i if pow ...
分类:
其他好文 时间:
2019-03-17 10:56:14
阅读次数:
276
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:
其他好文 时间:
2019-03-17 10:35:06
阅读次数:
158
自定义指令:以v开头,如:v mybind。 这时页面初始化时,input中会显示this is mybind bind。 通过directives注册自定义指令mybind,每一个自定义指令中又提供若干钩子,如示例中的bind, bind的作用是定义一个在绑定时执行一次的初始化动作,观察bind函 ...
分类:
Web程序 时间:
2019-03-16 20:50:45
阅读次数:
228
promisify问题 promisify = require('util).promisify const read = promisify( fs.readFile); read('input.txt').then(data=>{ }).catch(err=>{ }) async functio ...
分类:
其他好文 时间:
2019-03-16 12:54:42
阅读次数:
201
CentOS 7.3 Zabbix-server4.0 安装
分类:
其他好文 时间:
2019-03-15 23:15:49
阅读次数:
253
import os def get_fname(): while True: f_name = input('输入用户名:') if not os.path.exists(f_name): break print('%s已存在,青重新输入'%f_name) return f_name def get... ...
分类:
其他好文 时间:
2019-03-14 13:12:31
阅读次数:
190
This tiny program consists of 2 parts - registration and login. In the part of registration, the key point is to create a folder to store user's infor ...
分类:
编程语言 时间:
2019-03-14 11:47:03
阅读次数:
116
一、文件上传 1.对表单的要求 (1)提交方式必须是post; (2)上传时,enctype = "multipart/form-data"; (3)必须要有 2.对servlet的要求 request.getInputStream(); 3.fileupload组件 comments-fileup... ...
分类:
Web程序 时间:
2019-03-13 21:20:40
阅读次数:
248
在JQ时代我们使用如下方式,可以手动触发事件 但是如今的web application 已经淘汰JQ了,原生怎么写呢?很简单 先new一个事件,然后dom.dispatchEvent就可以了 ...
分类:
Web程序 时间:
2019-03-13 16:38:47
阅读次数:
192
单点时限: 1.0 sec 内存限制: 256 MB 是谁带你来看这场庙会 行为掩饰后超越了思维 舞台上的小丑和你的左小腿 别管我,别把我和他们扯在一起 ——李志《鸵鸟》 是谁带你来看这场庙会 行为掩饰后超越了思维 舞台上的小丑和你的左小腿 别管我,别把我和他们扯在一起 ——李志《鸵鸟》 是谁带你来 ...
分类:
其他好文 时间:
2019-03-13 14:59:30
阅读次数:
151