arduino ESP32 AndroidStudio BLE低功耗蓝牙 物联网 参考路径: https://blog.csdn.net/qq_35174914/article/details/79328125 nodered开发: 1. node red sample节点前后端数据传送 2. no ...
分类:
移动开发 时间:
2020-05-12 17:13:21
阅读次数:
148
背景: 在使用海思的sample中的venc中的demo: 推出后,会在当前目录下生成两个文件,h264和h265编码的视频文件:stream_chn1.h264 stream_chn0.h265。需要使用h264和h265的播放工具。ubuntu下面使用的是vlc,安装使用方法如下: 安装: su ...
分类:
系统相关 时间:
2020-05-12 15:22:28
阅读次数:
135
Xor Sum AtCoder 2272 Time limit : 2sec / Memory limit : 256MB Score : 600 points Problem Statement You are given a positive integer N. Find the number ...
分类:
其他好文 时间:
2020-05-11 19:09:03
阅读次数:
87
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making ...
分类:
其他好文 时间:
2020-05-10 23:17:57
阅读次数:
64
题目 Description 在美丽的玄武湖畔,鸡鸣寺边,鸡笼山前,有一块富饶而秀美的土地,人们唤作进香河。相传一日,一缕紫气从天而至,只一瞬间便消失在了进香河中。老人们说,这是玄武神灵将天书藏匿在此。 很多年后,人们终于在进香河地区发现了带有玄武密码的文字。更加神奇的是,这份带有玄武密码的文字,与 ...
分类:
其他好文 时间:
2020-05-10 10:35:58
阅读次数:
120
Input: 输入有包括多组数据。每组数据包括一行字符串。 Output: 输出加密后的字符串。 Sample Input: I Love You Sample Output: I evoL uoY 解析:利用数组计数,把非空格的字符记下来,空格代表一个间断,经过空格后计数要重新开始 完整代码: # ...
分类:
编程语言 时间:
2020-05-09 13:06:38
阅读次数:
111
对Series 对象使用匿名函数 使用 pipe 函数对 Series 对象使用 匿名函数 pd.Series(range(5)).pipe(lambda x,y,z :(x**y)%z,2,5) pd.Series(range(5)).pipe(lambda x:x+3).pipe(lambda ...
分类:
其他好文 时间:
2020-05-07 20:15:20
阅读次数:
93
1. BN层不能少于1张图片 问题分析 : 模型中用了batchnomolization,训练中用batch训练的时候,应该是有单数,比如dataset的总样本数为17,batch_size为8,就会报这样的错误。 解决方案 : 1. 将dataloader的一个丢弃参数设置为true 2. 手动舍 ...
分类:
其他好文 时间:
2020-05-07 13:41:19
阅读次数:
83
Description: 输入一个正整数,将它分解为质因数(质数即素数)。例如,输入90,输出90=2*3*3*5。 Input: 90 Output: 90=2*3*3*5 Sample Input: 20 Sample Output: 20=2*2*5 代码: #include <stdio.h ...
分类:
其他好文 时间:
2020-05-07 01:05:37
阅读次数:
90
题目描述 City C is really a nightmare of all drivers for its traffic jams. To solve the traffic problem, the mayor plans to build a RTQS (Real Time Query ...
分类:
其他好文 时间:
2020-05-06 19:43:30
阅读次数:
70