# print()# input()# len()# type()# int()# str()# list()# tuple()# dict()# set()# float()# id() # avg = sum(l) / len(l) #计算平均值# print(avg)# print( max( ...
分类:
编程语言 时间:
2021-05-24 13:23:00
阅读次数:
0
0. 参考文档 https://zhuanlan.zhihu.com/p/292151192 1. IO流分类 1.1 分类方式 IO流主要有三种分类方式: 按数据流的方向:输入流、输出流 按处理数据单元:字节流、字符流 按功能:节点流、处理流 1.2 常用流分类 转换流 ? InputStream ...
分类:
其他好文 时间:
2021-05-24 12:52:23
阅读次数:
0
jsoncpp是一个用于操作json数据的C++开源库 代码地址:https://github.com/open-source-parsers/jsoncpp 使用文档:http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.h ...
分类:
Web程序 时间:
2021-05-24 12:49:23
阅读次数:
0
起步 利用 html5 的 <video> 标签可以播放: 1 2 3 4 <video width="320" height="240" controls> <source src="/static/video/demo.mp4" type="video/mp4"> 您的浏览器不支持Video标签 ...
分类:
其他好文 时间:
2021-05-24 12:43:30
阅读次数:
0
开关机 poweroff # 关机 reboot # 重启 网络相关 ip address # 查询IP地址 nmtui # 图形化管理网络 route # 查看路由表 systemctl restart network # 重启网络服务 ss -ntlp # 查看系统中tcp端口开启的情况 ss ...
分类:
系统相关 时间:
2021-05-24 12:07:41
阅读次数:
0
frameworks/base/core/java/android/os/ConditionVariable.java 1 /* 2 * Copyright (C) 2006 The Android Open Source Project 3 * 4 * Licensed under the Apa ...
分类:
移动开发 时间:
2021-05-24 10:45:44
阅读次数:
0
下载源文件(这一步建议安装高版本,因为很多软件要求高) wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz 解压缩到合适的目录 配置环境变量 sudo vim ~/.bashrc 输入以下指令 export GOROOT=/usr/lo ...
分类:
系统相关 时间:
2021-05-24 10:36:26
阅读次数:
0
1)Rect boundingRect(InputArray points) points:输入信息,可以为包含点的容器(vector)或是Mat。返回包覆输入信息的最小正矩形。 2)RotatedRect minAreaRect(InputArray points) points:输入信息,可以为 ...
分类:
其他好文 时间:
2021-05-24 10:22:26
阅读次数:
0
前言 我们有时间会在项目中使用到流文件的传输。比方说xml传输。 微信公众号,支付宝的开放平台,都有使用了xml进行传输。 有时候我们还会把这个信息转发到其它的服务上面去。 需求 我们现在有两个平台,都对接了同一个公众号,都需要使用公众号扫码登陆。但是微信只提供了一个回调地址。 这个时候,我们就需要 ...
分类:
Web程序 时间:
2021-05-24 10:18:22
阅读次数:
0
This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:
编程语言 时间:
2021-05-24 10:17:27
阅读次数:
0