#_*_ encoding: utf-8 _*_ @author: ty heris #项目名称: pycharm_file 会自动替换为当前项目名称 #创建时间: 2018/5/6 会自动替换为当前日期 lst1 = [[0]*5]*5 print(lst1) # [[0, 0, 0, 0, 0] ...
分类:
其他好文 时间:
2021-04-16 12:15:15
阅读次数:
0
/* * Copyright (c) 2015 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under th ...
分类:
其他好文 时间:
2021-04-16 12:07:43
阅读次数:
0
1.线性DP 2.背包DP 0/1背包中的将二维化为一维,需要倒序遍历,当前状态仅由i-1层状态而来。 现在终于理解了,因为我们将i这一维给去掉了,我们我们遍历i这一层的时候,由大到小遍历,大的(正在更新的)就是我们的第i层,但是前面1~j-1却还保留在了第i-1层上(因为其尚未被遍历更新信息,所以 ...
分类:
其他好文 时间:
2021-04-16 12:06:18
阅读次数:
0
resources文件夹对系统来说属于动态目录,随着编译后文件移动。当有些方法需要找到绝对路径时,需要通过读取resources来形成它的绝对路径。 1、读取成file import java.io.File; import java.net.URL; URL url = WcsWindow.cla ...
分类:
其他好文 时间:
2021-04-16 11:57:21
阅读次数:
0
前言: 跟着做vue前后端分离项目时用到一个平台:rap2接口管理平台 但是保存数据时出现了平台不安全的报错信息“合法的URL地址,需以 http 或 / 开头,例如/a/b 或者 https://www.taobao.com”无法保存数据, 我修改了网页地址更不对。 我终于解决了!!!仰天长啸 很 ...
分类:
其他好文 时间:
2021-04-15 12:47:58
阅读次数:
0
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:
移动开发 时间:
2021-04-15 12:42:58
阅读次数:
0
简介 是什么 文件包含,一个简单的例子,和 c 语言 include 一样,将一个文件包含到另一个文件。通常出现在多文件开发,模块化开发的场景下。 文件包含,就是代码中通过某种方法包含了其它文件,可以将另一个文件的内容引入到当前文件。从而可以执行代码。 # 本地文件包含 http://example ...
分类:
其他好文 时间:
2021-04-15 12:36:17
阅读次数:
0
问题描述后台server服务响应时间正常,但是请求没有打到服务器,在nginx很慢才看到error日志,如下: 2018/07/26 10:17:42 [error] 45762#0: *7489 upstream timed out (110: Connection timed out) whil ...
分类:
其他好文 时间:
2021-04-15 12:25:45
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
其他好文 时间:
2021-04-15 12:22:57
阅读次数:
0
用途: scp命令用于linux上跨服务器拷贝资源 本地文件拷贝到远程: scp filename 远程服务器用户名@远程服务器ip:远程服务器存在该文件的位置(scp local_file remote_username@remote_ip:remote_folder ) 输入命令后需要输入远程服 ...
分类:
系统相关 时间:
2021-04-15 12:21:27
阅读次数:
0